[Zope] ZCatalog and phrase searching
Chris Humphries
chumphries@devis.com
Thu, 13 Mar 2003 14:44:14 -0500
thanks chrism and aj.
Chris McDonough wrote:
> If you use ZCTextIndex, I believe that surrounding a phrase in quotes
> will do the kind of phrase searching you're looking for. I don't think
> plain old TextIndex will, though.
>
> - C
>
>
> On Thu, 2003-03-13 at 14:18, Chris Humphries 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 i 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 )
>
>