|
|||
|
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:
But the seach for a lower ID like '100020100000002482' PHP Code:
![]() BUT with PHP Code:
![]() 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 Last edited by rahy : 03-03-2008 at 02:04 PM. |
|
|||
|
Hi all,
i found the error in the class: Zend_Search_Lucene_Index_SegmentInfo (/library/Zend/Search/Lucene/Index/SegmentInfo.php) in line 690: There must be an '===' operator insead of '==' i changed the line from PHP Code:
PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|