lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Question about Qsol parser and phrase searches
Date Mon, 10 Sep 2007 11:50:45 GMT
The default slop is one and it really should be 0. Sorry about the slip 
up Jeff and thanks for catching it. I'll make an adjustment, and a 
method to allow changing the default anyway, and then point you to an 
updated jar.

- Mark

Jeff French wrote:
> I have a document that contains the phrase "recent stent placement". Here is
> the result of some queries using the Qsol parser:
>
>   "recent stent placement"  => YES
>   "recent placement" => YES
>   "recent placement":0  => NO
>   "recent placement":1  => YES
>
> where YES/NO indicates whether the document was returned. The "recent
> placement" query result surprised me, as I had expected it not to return the
> document. From the other queries, it looks like phrase searches have a
> default slop of one. Is that correct? If so, is there a way to default to no
> slop, preferrably without changing all of our queries?
>
> Thanks for any pointers.
>
>   Jeff
>   

---------------------------------------------------------------------
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