Posted by cpliakas on November 8, 2009 at 7:14pm
Jump to:
| Project: | Search Lucene API |
| Version: | 6.x-2.0-beta3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | cpliakas |
| Status: | closed (fixed) |
| Issue tags: | 6.x-2.0-beta4 |
Issue Summary
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().
Comments
#1
Hook task created at #626974: Add hook_luceneapi_query_rebuild() to API.
#2
Fixed in commit #285930.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.