Artem Lukanin created LUCENE-5433: ------------------------------------- Summary: Double boosting in BooleanQuery.rewrite Key: LUCENE-5433 URL: https://issues.apache.org/jira/browse/LUCENE-5433 Project: Lucene - Core Issue Type: Bug Affects Versions: 4.6.1 Reporter: Artem Lukanin
The query ((+(text:hound)))^0.7 magically becomes ((+(text:hound^0.7)))^0.7 because of a strange optimization in BooleanQuery.rewrite() for 1-clause queries. See this issue to reproduce the bug: https://github.com/healthonnet/hon-lucene-synonyms/issues/36. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org