lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierrick Brihaye <pierrick.brih...@culture.gouv.fr>
Subject Re: Multiple terms with the same position in PhraseQuery
Date Fri, 04 Nov 2005 08:53:21 GMT
Hi Ahmed and all,

Ahmed El-dawy wrote:

> Hello,
>   My analyzer sometimes gives multiple terms for the same word. This
> makes them generated at the same position. When I use PhraseQuery to
> search for this term, it matches documents with all these terms at the
> same position (as if it is an AND). I want it to match documents with
> at least ONE term of the generated terms (OR).
> For example, a field containing the word (misuse) gives the terms
> (misuse, use). When I search for the PhraseQuery "uses" it gives the
> terms (uses, use), so it doesn't match the given document. I want it
> to match (for the term 'use').
> This is an example with one word, the same case happens with a phrase
> query with multiple words.

This should have been fixed one year ago with Daniel and myself.

See : http://issues.apache.org/bugzilla/show_bug.cgi?id=23307

Please upgrade and report any problem.

Cheers,

p.b.


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