search strangeness
Hi all
im pretty new to Zend_Lucene and cant figure out where I am going wrong.
Th basic problem is that
$index -> find('description:sales'); // will return records
$index -> find('name:sales'); // will return records
$index -> find('hours:full-time'); // will return records
and other text searches work fine, however things like
$index -> find('vacancy_id:9'); // returns nothing
$index -> find('province_id:12'); // returns nothing
I gather that the above queries are supposed to work -- I stored the fields initially as Text and then as Keyword. When I echo the 'id' fields from the HITs they are populated as expected.
So the question is .... does anybody know why my Lucene doesn't return any results for 'id' queries?
|