Issue Details (XML | Word | Printable)

Key: LUCENE-35
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Lucene Developers
Reporter: Michael Wagner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

[PATCH] AND match fails if any Term is filtered out by an analyser.

Created: 15/May/02 07:45 PM   Updated: 27/May/06 01:35 AM
Return to search
Component/s: Search
Affects Version/s: unspecified
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File PhraseTest.java 2003-11-26 12:01 AM Daniel Naber 2 kB
Text File QueryParser.stopwords.patch 2004-01-22 04:25 PM Morus Walter 2 kB
Environment:
Operating System: other
Platform: Other

Bugzilla Id: 9110


 Description  « Hide
If i do an AND search with an StandardAnalyzer the word 'it' (or better IT
for infromation technology ) is cut out by the Analyzer. That is ok. I get no
result. But wenn i search for 'it' and 'plus' (plus is not cut out by the
analyzer). The result is empty, too. But that is not fine, of cause if i search
only for 'plus' i get an result.
So, i think if an word is thrown away by the analyzer, this part of the and
query should hava no affect to the rest of the search. It should left out by
the BooleanQuery.
I hope it is easy to fix, because it has much affect of search result.
(I tryed do left out any Analyzer but that wasnt suitable ... sorry for my bad
english)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jeff Turner made changes - 03/Sep/05 03:22 PM
Field Original Value New Value
issue.field.bugzillaimportkey 9110 12314185
Doug Cutting made changes - 27/May/06 01:35 AM
Status Resolved [ 5 ] Closed [ 6 ]