[Zope] ZCatalog and phrase searching

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Thu, 13 Mar 2003 20:19:19 +0100


Phrasesearch depends on the type of text index used. The standard
Zope TextIndex does not support phrase search (at least
no very reliable). Better choices are TextIndexNG or ZCTextIndex.

-aj

--On Donnerstag, 13. M=E4rz 2003 14:15 Uhr -0500 Chris Humphries=20
<chumphries@devis.com> wrote:

> hello all,
> 	question is about how exactly zcatalog does phrase
>   searching. from going thru the source, i am having a heck
>   of a time trying to find where it actually does something
>   with the search string (so i can tell how it uses it to
>   search).
> 	the problem is that there is a requirement to be able
>   to search for "string exactly like this", and we are using
>   zcatalog to search over our zope content objects. now from
>   how it is now, i am uncertian that if 1) zcatalog can do that
>   and 2) if it can, how?. it seems to search for "string" AND
>   "exactly" AND "like" AND "this" when that is not the desired
>   behavior. we want it to be 4 words treated as one entity to
>   search on, and not 4 seperate entities.
> 	if i have communicated well enough across, can you tell
>   me if this is possible with zcatalog, and if so how do it do
>   it?
> 	
>
> thanks,
> chris
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )