lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran Mordo" <>
Subject RE: query question "in trouble"
Date Wed, 11 Jun 2003 19:49:33 GMT
In is probably a STOP word in your analyzer

-----Original Message-----
From: Ryan Clifton [] 
Sent: Wednesday, June 11, 2003 3:13 PM
To: Lucene Users List
Subject: query question "in trouble"


Upon reviewing the results of some queries recently I noticed that the
query: "in trouble" always searches for "trouble".

Is 'in' a keyword that I'm not aware of?  I searched the whole query
syntax page and didn't see it mentioned.  I tried "an trouble" and the
query worked fine.  The query parser appears to be stripping out 'in',
but not doing anything with it.

Here's my log:

******Query: "in trouble"
2003-06-11 12:08:50,540 DEBUG Searching for: textcontent:trouble
(Query.toString()) 2003-06-11 12:08:50,569 DEBUG 6582 total matching

******Query: "an trouble"
2003-06-11 12:06:11,275 DEBUG Searching for: textcontent:"an trouble"
(Query.toString()) 2003-06-11 12:06:12,342 DEBUG 1 total matching

Any ideas?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message