Hi,
i created a lucene indix with the java API. Now i want to search on the created index with the Zend API. The index contains a document with the field <my_criteria.link> and the value '100020100000002484'.
If i search
PHP Code:
$term = new Zend_Search_Lucene_Index_Term('100020100000002484', 'my_criteria.link');
$query = new Zend_Search_Lucene_Search_Query_Term($term);
$hits = $index->find($query);
everything works fine.
But the seach for a lower ID like '100020100000002482'
PHP Code:
$term = new Zend_Search_Lucene_Index_Term('100020100000002482', 'my_criteria.link');
...
the same document will be found!

BUT with
PHP Code:
$term = new Zend_Search_Lucene_Index_Term('100020100000002472', 'my_criteria.link');
...
i got no results (as expected ).

Can anyone tell me why the document is found by the second string ?
I use the lukeall.jar application to check the created Index and test the querys and it looks fine.
Thanks,
Ralf