lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Barry <MBa...@cos.com>
Subject Re: QueryParser, phrases and stopwords
Date Thu, 16 Jun 2005 19:26:34 GMT
Daniel Naber wrote:

>On Thursday 16 June 2005 04:17, Erik Hatcher wrote:
>
>  
>
>>So we could change StopFilter to put the gaps back in safely now, I  
>>think.
>>
>>Thoughts?
>>    
>>
>
>I personally don't have a problem with this, but shouldn't such a change be 
>optional? Like a parameter for StopFilter or a StopGapFilter? I'm sure 
>there are people who prefer the way it is done now.
>
>Regards
> Daniel
>  
>

To me the change is more consistent with with the documentation
for Phrase Query.  If you need it to be a bit looser, set the slop
accordingly.

If you need "lucene action" to match "Lucene In Action",
you should adjust your query  (using QueryParser syntax):

"lucene action"~2


-MikeB.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message