[Zope] Exact phrase searches

Chris McDonough chrism@zope.com
11 Sep 2002 00:35:44 -0400


Using a Zope TextIndex, there's really no good way to do a phrase
search.  However, in Zope 2.6, using a "ZCTextIndex" (which is similarly
named and performs a similar function as a TextIndex, just better), you
can perform phrase searches by "surrounding them in quotes".

On Tue, 2002-09-10 at 22:36, Michael wrote:
> I can't seem to find any documentation on doing an exact phrase search in 
> Zope.  I've tried "exact phrase" ,(exact phrase), +"exact phrase" and they 
> all seem to work just like an "and" search.  Does anyone have any ideas on 
> where I can find documentation?  Even zope.org returns 0 on "exact phrase"
> 
> Michael
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )