lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <morus.wal...@tanto.de>
Subject RE: QueryParsing
Date Tue, 19 Oct 2004 09:05:14 GMT
Rupinder Singh Mazara writes:
> hi erik and everyone else
> 
>  ok i will buy the book ;)
> but this still does not solve the problem of
>  why String x = "\"jakarta apache\"~100"; is being transalted as a
> PhraseQuery
>       FULL_TEXT:"jakarta apache"~100
> 
>  is the correct query beining formed ?  or is there something wrong with the
>  Proximity Search topic in the URL
> http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
> 
A proximity search is done by a PhraseQuery with a slop.
The slop makes the PhraseQuery to perform a proximity search (so you can
argue that the name is problematic).
That's what query parser creates.

SpanQueries where introduced later. Maybe you can get the effect of a
proximity search by SpanQueries also, but that's not handled by the query
parser.

Morus

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


Mime
View raw message