Actually, I like the FastSiteSearch (http://www.zope.org/Members/Ioan/FastSiteSearch) better since I need to put a search engine on an old Zope 2.3 site that doesn't have Python Scripts installed. This is a Production site with 32000 hits a month by 200+ users They rely heavily on Yihaw Directory Product. Is there a way to configure the 3 (FastSiteSearch) objects to find Yihaw Folders and other Yihaw objects via meta-data and (better yet) the content of the Yihaw object? Right now, the problem is the ZCatalog doesn't do a good job on finding numerics (i.e. check number 1234, etc). It also searches on HTML code (i.e search on 100 brings back html tag 100%) Any help appreciated, Eric Dunn Ioan Coman <ioan2k@yahoo.com> on 06/25/2002 04:07:38 AM To: Eric N. Dunn/USA/BAC@BankofAmerica cc: Subject: Re: FastSiteSearch & SiteSearch My search scripts look for Folders, dtml documents & methods. Use this python script to find meta_type_name of anything: print "<html><pre>" for i in context.objectItems(): print "%s has type '%s'" % (i[0],i[1].getNodeName()) print "</pre></html>" return printed Then you'll find that Yihaw folder has meta type 'YihawChannel' !!!!!!!!! Once info about types is collected you can change search scripts to look also for 'YihawChannel' or whatever. /* I never tested Yihaw stuff! Today is my first download of it! It looks slow (maybe my computer is overloaded) and not so easy to use it! I'm tired doing stuff for admins. Is time to let clients to add theyr own documents. Play with it if you want! (I can make another and better one, but now I'm working to an SQL powered forum) */ Ask me more when you'll need help! Yours, Ioan. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
On Tue, 2002-06-25 at 11:07, eric.n.dunn@bankofamerica.com wrote:
Actually, I like the FastSiteSearch (http://www.zope.org/Members/Ioan/FastSiteSearch) better since I need to put a search engine on an old Zope 2.3 site that doesn't have Python Scripts installed. This is a Production site with 32000 hits a month by 200+ users They rely heavily on Yihaw Directory Product.
Is there a way to configure the 3 (FastSiteSearch) objects to find Yihaw Folders and other Yihaw objects via meta-data and (better yet) the content of the Yihaw object?
Right now, the problem is the ZCatalog doesn't do a good job on finding numerics (i.e. check number 1234, etc). It also searches on HTML code (i.e search on 100 brings back html tag 100%)
Any help appreciated, Eric Dunn
ZCTextIndex solves all of the problems you describe and does a much better job scoring results to boot! It can be dropped in as a replacement for exising textindexes in ZCatalog. It comes with Zope 2.6, but can be installed in Zope 2.5 as a standalone product. You just have to compile the C extensions in it. (Copy Makefile.pre.in into the product, do: make -f Makefile.pre.in boot && make) hth, -Casey
Hi! I don't have time to understand YIHAW document structure. Ask for help to soren.roug@eea.eu.int the author of YIHAW. He can transform my search script to look inside YIHAW documents. Is not complicate; each object has properties (title, description, body, ...) and search script read that properties and analize content of them. Also Soren can improve YIHAW with a search module based on my scripts, then he can post a new version of YIHAW on Zope site! Yours, Ioan. --- eric.n.dunn@bankofamerica.com wrote:
Actually, I like the FastSiteSearch (http://www.zope.org/Members/Ioan/FastSiteSearch) better since I need to put a search engine on an old Zope 2.3 site that doesn't have Python Scripts installed. This is a Production site with 32000 hits a month by 200+ users They rely heavily on Yihaw Directory Product.
Is there a way to configure the 3 (FastSiteSearch) objects to find Yihaw Folders and other Yihaw objects via meta-data and (better yet) the content of the Yihaw object?
Right now, the problem is the ZCatalog doesn't do a good job on finding numerics (i.e. check number 1234, etc). It also searches on HTML code (i.e search on 100 brings back html tag 100%)
Any help appreciated, Eric Dunn
Ioan Coman <ioan2k@yahoo.com> on 06/25/2002 04:07:38 AM
To: Eric N. Dunn/USA/BAC@BankofAmerica cc: Subject: Re: FastSiteSearch & SiteSearch
My search scripts look for Folders, dtml documents & methods.
Use this python script to find meta_type_name of anything:
print "<html><pre>" for i in context.objectItems(): print "%s has type '%s'" % (i[0],i[1].getNodeName()) print "</pre></html>" return printed
Then you'll find that Yihaw folder has meta type 'YihawChannel' !!!!!!!!!
Once info about types is collected you can change search scripts to look also for 'YihawChannel' or whatever.
/* I never tested Yihaw stuff! Today is my first download of it! It looks slow (maybe my computer is overloaded) and not so easy to use it! I'm tired doing stuff for admins. Is time to let clients to add theyr own documents.
Play with it if you want! (I can make another and better one, but now I'm working to an SQL powered forum) */
Ask me more when you'll need help!
Yours, Ioan.
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
participants (3)
-
Casey Duncan -
eric.n.dunn@bankofamerica.com -
Ioan Coman