Query for a exact string in Zend Lucene PHP Not fuzzy match

Posted by Podlsk on Stack Overflow See other posts from Stack Overflow or by Podlsk
Published on 2010-04-22T23:06:17Z Indexed on 2010/04/22 23:13 UTC
Read the original article Hit count: 320

Filed under:
|
|

Im using the Zend Lucene however Im have a little trouble. I wish to query the index for the exact tring so page_name IS test123, not any fuzzy match.

Currently I have:

$hits = $index->find('page_name:"test123"'); And advice appreciated, thanks!

© Stack Overflow or respective owner

Related posts about zend

Related posts about lucene