Re: Behaviour change of Query.parse(String query) in 8.7.0 vs 2.9.4

2021-02-08 Thread jitesh129
Thanks Adrien. -- Sent from: https://lucene.472066.n3.nabble.com/Lucene-Java-Developer-f564358.html - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org

Re: Behaviour change of Query.parse(String query) in 8.7.0 vs 2.9.4

2021-02-04 Thread Adrien Grand
I believe that this is related to the fact that the classic query parser no longer splits on whitespace and instead relies on the analyzer to compute query terms. So if your tokenizer makes no difference between spaces and dashes, you would indeed get a disjunction. If you need to restore this

Behaviour change of Query.parse(String query) in 8.7.0 vs 2.9.4

2021-02-02 Thread jitesh129
Hello Team, Recently we have started upgrading our Lucene core libraries to version 8.7.0 from v2.9.4. Some of our tests started failing which were searching on a keyword in the format 'abc-def_1-2014'. In v2.9.4 this was parsed into a Phrase query with 3 terms "abc", "def_1" and "2014"

Behaviour change of Query.parse(String query) in 8.7.0 vs 2.9.4

2021-02-02 Thread jitesh129
Hello Team, Recently we have started upgrading our Lucene core libraries to version 8.7.0 from v2.9.4. Some of our tests started failing which were searching on a keyword in the format 'abc-def_1-2014'. In v2.9.4 this was parsed into a Phrase query with 3 terms "abc", "def_1" and "2014"