Query for a exact string in Zend Lucene PHP
Posted
by Podlsk
on Stack Overflow
See other posts from Stack Overflow
or by Podlsk
Published on 2010-04-22T21:20:03Z
Indexed on
2010/04/22
21:23 UTC
Read the original article
Hit count: 332
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