Commit d072ddd4e26b10cb89119f97b04b7b394979e323
1 parent
6254b429
KTS-3204
"Search engine results references Score field, which should be Rank" Fixed. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8309 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php
| @@ -182,7 +182,7 @@ class JavaXMLRPCLuceneIndexer extends Indexer | @@ -182,7 +182,7 @@ class JavaXMLRPCLuceneIndexer extends Indexer | ||
| 182 | $document_id = $hit->DocumentID; | 182 | $document_id = $hit->DocumentID; |
| 183 | 183 | ||
| 184 | // avoid adding duplicates. If it is in already, it has higher priority. | 184 | // avoid adding duplicates. If it is in already, it has higher priority. |
| 185 | - if (!array_key_exists($document_id, $results) || $score > $results[$document_id]->Score) | 185 | + if (!array_key_exists($document_id, $results) || $score > $results[$document_id]->Rank) |
| 186 | { | 186 | { |
| 187 | try | 187 | try |
| 188 | { | 188 | { |