[jira] [Created] (LUCENE-10442) When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery

2022-02-25 Thread Lu Xugang (Jira)
Lu Xugang created LUCENE-10442: -- Summary: When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery Key: LUCENE-10442 URL: https://issues.apache.org/jir

[GitHub] [lucene] iverase commented on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
iverase commented on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050646004 I remove the parameter `grown` from `addAll` in [4c6b436](https://github.com/apache/lucene/pull/709/commits/4c6b436c7059742c80a7975a39b72494082c543c) -- This is an automated me

[jira] [Updated] (LUCENE-10442) When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery

2022-02-25 Thread Lu Xugang (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lu Xugang updated LUCENE-10442: --- Fix Version/s: 9.1 > When indexQuery or/and dvQuery be a MatchAllDocsQuery then > IndexOrDocValue

[jira] [Updated] (LUCENE-10442) When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery

2022-02-25 Thread Lu Xugang (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lu Xugang updated LUCENE-10442: --- Description: IndexOrDocValuesQuery is typically useful for range queries, When indexQuery was rewr

[GitHub] [lucene] LuXugang opened a new pull request #715: LUCENE-10442: When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery

2022-02-25 Thread GitBox
LuXugang opened a new pull request #715: URL: https://github.com/apache/lucene/pull/715 IndexOrDocValuesQuery is typically useful for range queries, When indexQuery was rewrite to MatchAllDocsQuery and IndexOrDocValuesQuery not be as a lead iterator , it most likely that dvQuery will suppl

[GitHub] [lucene] iverase commented on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
iverase commented on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050699040 Oh, but that might still be not correct. The buffers implementation does not grow with unique documents but with every call of BulkAdder#add because it does not discard duplicates

[jira] [Updated] (LUCENE-10442) When indexQuery or/and dvQuery be a MatchAllDocsQuery then IndexOrDocValuesQuery should be rewrite to MatchAllDocsQuery

2022-02-25 Thread Lu Xugang (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lu Xugang updated LUCENE-10442: --- Description: IndexOrDocValuesQuery is typically useful for range queries, When indexQuery was rewr

[GitHub] [lucene] rmuir commented on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
rmuir commented on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050869655 There's no way we're allowing more than `Integer.MAX_VALUE` calls going to this buffers thing. -- This is an automated message from the Apache Git Service. To respond to the mess

[jira] [Created] (LUCENE-10443) Remove one of SparseFixedBitSet/DocIdSetBuilder.Buffer

2022-02-25 Thread Robert Muir (Jira)
Robert Muir created LUCENE-10443: Summary: Remove one of SparseFixedBitSet/DocIdSetBuilder.Buffer Key: LUCENE-10443 URL: https://issues.apache.org/jira/browse/LUCENE-10443 Project: Lucene - Core

[GitHub] [lucene] rmuir commented on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
rmuir commented on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050876486 seriously, look at `threshold`. its `maxDoc >>> 7`. `maxDoc` is an int. when you call `grow(anywhere close to Integer.MAX_VALUE)` then buffers exits the stage permanently.

[GitHub] [lucene] iverase commented on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
iverase commented on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050884300 What I want to make sure is this is covered in the javadocs and we are not relying on an implementation detail. #grow needs to be called with the number of times you are goi

[jira] [Created] (LUCENE-10444) Support alternate aggregation functions in association facets

2022-02-25 Thread Greg Miller (Jira)
Greg Miller created LUCENE-10444: Summary: Support alternate aggregation functions in association facets Key: LUCENE-10444 URL: https://issues.apache.org/jira/browse/LUCENE-10444 Project: Lucene - Cor

[jira] [Assigned] (LUCENE-10444) Support alternate aggregation functions in association facets

2022-02-25 Thread Greg Miller (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Miller reassigned LUCENE-10444: Assignee: Greg Miller > Support alternate aggregation functions in association facets >

[GitHub] [lucene] iverase edited a comment on pull request #709: LUCENE-10311: remove complex cost estimation and abstraction leakage around it

2022-02-25 Thread GitBox
iverase edited a comment on pull request #709: URL: https://github.com/apache/lucene/pull/709#issuecomment-1050884300 What I want to make sure is this is covered in the javadocs and we are not relying on an implementation detail. #grow needs to be called with the number of times you

[GitHub] [lucene-solr] andywebb1975 commented on pull request #2643: SOLR-9359 Make Config API work for warming queries

2022-02-25 Thread GitBox
andywebb1975 commented on pull request #2643: URL: https://github.com/apache/lucene-solr/pull/2643#issuecomment-1051012958 Thanks Eric! Yes, I'll do some refactoring and try making a test. I don't think we get much control of the shape of the object - I'd like to be able to drop the nested

[jira] [Commented] (LUCENE-10432) Add optional 'name' property to org.apache.lucene.search.Explanation

2022-02-25 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498238#comment-17498238 ] Andriy Redko commented on LUCENE-10432: --- [~jpountz] as progressed along the use c

[jira] [Comment Edited] (LUCENE-10432) Add optional 'name' property to org.apache.lucene.search.Explanation

2022-02-25 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498238#comment-17498238 ] Andriy Redko edited comment on LUCENE-10432 at 2/25/22, 7:59 PM:

[GitHub] [lucene] javanna opened a new pull request #716: LUCENE-10002: Replace test usages of TopScoreDocCollector with a corresponding collector manager

2022-02-25 Thread GitBox
javanna opened a new pull request #716: URL: https://github.com/apache/lucene/pull/716 This is another one of many steps towards resolution of LUCENE-10002. In the effort or replacing usages of IndexSearcher#search(Query, Collector) with IndexSearcher#search(Query, CollectorManager), this

[jira] [Comment Edited] (LUCENE-10432) Add optional 'name' property to org.apache.lucene.search.Explanation

2022-02-25 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498238#comment-17498238 ] Andriy Redko edited comment on LUCENE-10432 at 2/25/22, 9:25 PM: