Error in bias query logic breaks some negative search queries

cpliakas - November 8, 2009 - 19:14
Project:Search Lucene API
Version:6.x-2.0-beta3
Component:Code
Category:bug report
Priority:critical
Assigned:cpliakas
Status:closed
Issue tags:6.x-2.0-beta4
Description

The content bias queries need to be reconstructed. If you search for 'title:test -content", the expected results would be nodes containing the word "test" in the title and not containing "content" anywhere in the node. However, documents with "test" in the title will still be returned even if "contents" is in the body which is incorrect. Because of the way the query objects are written, a hook needs to be added that will allow users to rebuild the entire query as some elements are not accessible in hook_luceneapi_query_alter().

#1

cpliakas - November 8, 2009 - 19:18

#2

cpliakas - November 8, 2009 - 20:28
Status:active» fixed

Fixed in commit #285930.

#3

System Message - November 22, 2009 - 20:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.