[GitHub] [lucene] jpountz commented on a change in pull request #672: LUCENE-10418: Optimize `Query#rewrite` in the non-scoring case.

2022-03-16 Thread GitBox
jpountz commented on a change in pull request #672: URL: https://github.com/apache/lucene/pull/672#discussion_r803887266 ## File path: lucene/core/src/java/org/apache/lucene/search/ConstantScoreQuery.java ## @@ -114,7 +124,19 @@ public long cost() { @Override public

[GitHub] [lucene] jpountz commented on a change in pull request #672: LUCENE-10418: Optimize `Query#rewrite` in the non-scoring case.

2022-03-05 Thread GitBox
jpountz commented on a change in pull request #672: URL: https://github.com/apache/lucene/pull/672#discussion_r820132595 ## File path: lucene/core/src/java/org/apache/lucene/search/BooleanQuery.java ## @@ -191,51 +191,55 @@ boolean isPureDisjunction() { return

[GitHub] [lucene] jpountz commented on a change in pull request #672: LUCENE-10418: Optimize `Query#rewrite` in the non-scoring case.

2022-02-10 Thread GitBox
jpountz commented on a change in pull request #672: URL: https://github.com/apache/lucene/pull/672#discussion_r803887266 ## File path: lucene/core/src/java/org/apache/lucene/search/ConstantScoreQuery.java ## @@ -114,7 +124,19 @@ public long cost() { @Override public

[GitHub] [lucene] jpountz commented on a change in pull request #672: LUCENE-10418: Optimize `Query#rewrite` in the non-scoring case.

2022-02-10 Thread GitBox
jpountz commented on a change in pull request #672: URL: https://github.com/apache/lucene/pull/672#discussion_r803883301 ## File path: lucene/core/src/java/org/apache/lucene/search/ConstantScoreQuery.java ## @@ -63,6 +65,22 @@ public Query rewrite(IndexReader reader) throws