Right, i am getting now expected behavior.
In the docs i wish the New York example would be continued for clarity
and consistence.
Best regards
On 1/24/20 12:55 PM, Atri Sharma wrote:
PhraseQuery enforces the order of terms specified and needs an exact
match of order of terms unless slop is specified.
When appending terms, term pos numbers need to be incremental in the builder
On Fri, Jan 24, 2020 at 11:15 PM <baris.ka...@oracle.com> wrote:
Hi,-
how do i enforce the order of sequence of terms in the PhraseQuery
builder?
Lucene docs are very hard to understand in terms of api descriptions.
https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_core_6-5F5-5F0_core_org_apache_lucene_search_PhraseQuery.html&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=YTrEhjB-AYQP02G-oZgBw_-nGgrpoQxRk-rj1LzC_7Y&s=tFhbvjjjKk_Ud5XffGASKin-cHtEGc5SRQ1NKqxSFuU&e=
Best regards
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org