View Single Post
  #2 (permalink)  
Old 03-04-2008, 10:50 AM
rahy rahy is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default

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:
        if ($termFieldNum == $searchField && $termValue == $term->text) { 
to
PHP Code:
        if ($termFieldNum === $searchField && $termValue === $term->text) { 
Reply With Quote