You should be able to do this with quotes around the words, but that feature is sort of only half-wired-up at this point (it was *never* implemented... when I investigated this, I was amazed to see that there were hooks for it and everything within the query code, some marshalling code, some other stuff... and guess what it all led to... a method that didn't exist, and no actual way to do phrase searching!). Currently, quotes around word do the same thing as parens around words (word1 NEAR word2). Sigh. - C ----- Original Message ----- From: "Erik Enge" <erik@thingamy.net> To: <zope-dev@zope.org> Sent: Friday, May 18, 2001 12:25 PM Subject: [Zope-dev] ZCatalog/TextIndex: searching for the exact phrase "word1 word2"
Hiya,
it basically says it in the subject. How can I search for "word1 word2" without ZCatalog/TextIndex interpreting it as "word1" or/and "word2"?
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )