[GitHub] [lucene] mogui commented on pull request #679: Monitor Improvements LUCENE-10422

2022-03-14 Thread GitBox
mogui commented on pull request #679: URL: https://github.com/apache/lucene/pull/679#issuecomment-1066549257 @romseygeek fixed ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comm

[GitHub] [lucene] romseygeek commented on a change in pull request #679: Monitor Improvements LUCENE-10422

2022-03-14 Thread GitBox
romseygeek commented on a change in pull request #679: URL: https://github.com/apache/lucene/pull/679#discussion_r825818251 ## File path: lucene/monitor/src/java/org/apache/lucene/monitor/Monitor.java ## @@ -125,14 +105,16 @@ public Monitor(Analyzer analyzer, Presearcher prese

[jira] [Commented] (LUCENE-10448) MergeRateLimiter doesn't always limit instant rate.

2022-03-14 Thread Adrien Grand (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506184#comment-17506184 ] Adrien Grand commented on LUCENE-10448: --- Like [~vigyas] my understanding is that

[GitHub] [lucene] mocobeta commented on pull request #740: LUCENE-10393: Unify binary dictionary and dictionary writer in kuromoji and nori

2022-03-14 Thread GitBox
mocobeta commented on pull request #740: URL: https://github.com/apache/lucene/pull/740#issuecomment-1066672493 We could have a common `DictionaryBuilder` class in analyzers-common but it brings too complex class hierarchy to me. I'd postpone refactoring XXXDictionaryBuilder until we come

[GitHub] [lucene] jpountz commented on pull request #737: Reduce for-loop in WeightedSpanTermExtractor.extractWeightedSpanTerms method.

2022-03-14 Thread GitBox
jpountz commented on pull request #737: URL: https://github.com/apache/lucene/pull/737#issuecomment-1066789801 This change makes sense to me. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [lucene] jpountz commented on a change in pull request #736: LUCENE-10458: BoundedDocSetIdIterator may supply error count in Weigth#count(LeafReaderContext) when missingValue enables

2022-03-14 Thread GitBox
jpountz commented on a change in pull request #736: URL: https://github.com/apache/lucene/pull/736#discussion_r825981973 ## File path: lucene/sandbox/src/java/org/apache/lucene/sandbox/search/IndexSortSortedNumericDocValuesRangeQuery.java ## @@ -198,16 +198,22 @@ public boolea

[GitHub] [lucene] gsmiller commented on a change in pull request #718: LUCENE-10444: Support alternate aggregation functions in association facets

2022-03-14 Thread GitBox
gsmiller commented on a change in pull request #718: URL: https://github.com/apache/lucene/pull/718#discussion_r826082690 ## File path: lucene/facet/src/java/org/apache/lucene/facet/taxonomy/FloatTaxonomyFacets.java ## @@ -130,16 +140,16 @@ public FacetResult getTopChildren(in

[GitHub] [lucene] gsmiller commented on a change in pull request #718: LUCENE-10444: Support alternate aggregation functions in association facets

2022-03-14 Thread GitBox
gsmiller commented on a change in pull request #718: URL: https://github.com/apache/lucene/pull/718#discussion_r826085655 ## File path: lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java ## @@ -173,17 +185,17 @@ public FacetResult getTopChildren(int

[GitHub] [lucene] javanna opened a new pull request #745: Revert "LUCENE-10385: Implement Weight#count on IndexSortSortedNumeri…

2022-03-14 Thread GitBox
javanna opened a new pull request #745: URL: https://github.com/apache/lucene/pull/745 Based on discussion happening in https://issues.apache.org/jira/browse/LUCENE-10458 , I am reverting LUCENE-10385 (#635) in the 8.1 branch. I left some test improvements that are still valid but r

[GitHub] [lucene] gsmiller commented on pull request #718: LUCENE-10444: Support alternate aggregation functions in association facets

2022-03-14 Thread GitBox
gsmiller commented on pull request #718: URL: https://github.com/apache/lucene/pull/718#issuecomment-1066998156 Even though I ran benchmarks on the backport version of this change (#719), I figured it would be good to run benchmarks here as well. Below compares this patch against `main` us

[jira] [Commented] (LUCENE-10458) BoundedDocSetIdIterator may supply error count in Weigth#count(LeafReaderContext) when missingValue enables

2022-03-14 Thread Adrien Grand (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506341#comment-17506341 ] Adrien Grand commented on LUCENE-10458: --- Thanks for catching this, [~lucacavanna]

[jira] [Commented] (LUCENE-10441) ArrayIndexOutOfBoundsException during indexing

2022-03-14 Thread Peixin Li (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506376#comment-17506376 ] Peixin Li commented on LUCENE-10441: How many tokens should causing issue? and is t

[GitHub] [lucene] mocobeta opened a new pull request #746: Sanity check on start javaw

2022-03-14 Thread GitBox
mocobeta opened a new pull request #746: URL: https://github.com/apache/lucene/pull/746 This tests if Luke process successfully starts on "java" on Mac/Linux or "start javaw" on Windows. TestScripts now checks if the expected message is contained in a log file instead of the forked proc

[jira] [Commented] (LUCENE-10464) unnecessary for-loop in WeightedSpanTermExtractor.extractWeightedSpanTerms

2022-03-14 Thread Christine Poerschke (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506392#comment-17506392 ] Christine Poerschke commented on LUCENE-10464: -- https://github.com/apache/

[jira] [Created] (LUCENE-10464) unnecessary for-loop in WeightedSpanTermExtractor.extractWeightedSpanTerms

2022-03-14 Thread Christine Poerschke (Jira)
Christine Poerschke created LUCENE-10464: Summary: unnecessary for-loop in WeightedSpanTermExtractor.extractWeightedSpanTerms Key: LUCENE-10464 URL: https://issues.apache.org/jira/browse/LUCENE-10464

[jira] [Created] (LUCENE-10465) Unable to find antlr4.runtime

2022-03-14 Thread Muler (Jira)
Muler created LUCENE-10465: -- Summary: Unable to find antlr4.runtime Key: LUCENE-10465 URL: https://issues.apache.org/jira/browse/LUCENE-10465 Project: Lucene - Core Issue Type: Bug Compone

[jira] [Commented] (LUCENE-10427) OLAP likewise rollup during segment merge process

2022-03-14 Thread Adrien Grand (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506402#comment-17506402 ] Adrien Grand commented on LUCENE-10427: --- Thanks I understand better now. With the

[jira] [Commented] (LUCENE-10461) Luke: Windows launch script passes integration tests but fails to run

2022-03-14 Thread Tomoko Uchida (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506403#comment-17506403 ] Tomoko Uchida commented on LUCENE-10461: I am fine with keeping javaw support.

[GitHub] [lucene] mocobeta commented on a change in pull request #746: Sanity check on start javaw

2022-03-14 Thread GitBox
mocobeta commented on a change in pull request #746: URL: https://github.com/apache/lucene/pull/746#discussion_r826259906 ## File path: lucene/distribution.tests/src/test/org/apache/lucene/distribution/TestScripts.java ## @@ -112,6 +120,7 @@ protected void execute( Laun

[GitHub] [lucene] mocobeta commented on a change in pull request #746: Sanity check on start javaw

2022-03-14 Thread GitBox
mocobeta commented on a change in pull request #746: URL: https://github.com/apache/lucene/pull/746#discussion_r826266136 ## File path: lucene/distribution.tests/src/test/org/apache/lucene/distribution/TestScripts.java ## @@ -125,13 +134,29 @@ protected void execute(

[jira] [Commented] (LUCENE-10461) Luke: Windows launch script passes integration tests but fails to run

2022-03-14 Thread Dawid Weiss (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506458#comment-17506458 ] Dawid Weiss commented on LUCENE-10461: -- Hey, Tomoko. I don't think we should go in

[jira] [Created] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
Andriy Redko created LUCENE-10466: - Summary: IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField Key: LUCENE-10466 URL: https://issues.apache.org/jira/browse/L

[jira] [Updated] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko updated LUCENE-10466: -- Description: We have run into this issue while migrating to OpenSearch and making changes to

[jira] [Commented] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506464#comment-17506464 ] Andriy Redko commented on LUCENE-10466: --- [~jpountz] does the issue make sense to

[GitHub] [lucene] mocobeta commented on a change in pull request #746: Sanity check on start javaw

2022-03-14 Thread GitBox
mocobeta commented on a change in pull request #746: URL: https://github.com/apache/lucene/pull/746#discussion_r826294904 ## File path: lucene/distribution/src/binary-release/bin/luke.cmd ## @@ -18,21 +18,17 @@ SETLOCAL SET MODULES=%~dp0.. -IF DEFINED LAUNCH_CMD GOTO testin

[jira] [Updated] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko updated LUCENE-10466: -- Priority: Minor (was: Major) > IndexSortSortedNumericDocValuesRangeQuery unconditionally ass

[jira] [Commented] (LUCENE-10461) Luke: Windows launch script passes integration tests but fails to run

2022-03-14 Thread Dawid Weiss (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506488#comment-17506488 ] Dawid Weiss commented on LUCENE-10461: -- Just to be clear - I did take a look at th

[GitHub] [lucene] Yuti-G opened a new pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G opened a new pull request #747: URL: https://github.com/apache/lucene/pull/747 # Description This change * adds a new API - getTopDims in Facets to support users specify the number of dims and children they want to get, and returns only these dims and children. * override g

[jira] [Commented] (LUCENE-10460) Delegating DocIdSetIterator could be replaced to DocIdSetIterator#range(int minDoc, int maxDoc) in IndexSortSortedNumericDocValuesRangeQuery

2022-03-14 Thread Julie Tibshirani (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506528#comment-17506528 ] Julie Tibshirani commented on LUCENE-10460: --- It indeed seems okay to use a si

[jira] [Commented] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Julie Tibshirani (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506530#comment-17506530 ] Julie Tibshirani commented on LUCENE-10466: --- Thank you [~reta] for reporting

[jira] [Comment Edited] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Julie Tibshirani (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506530#comment-17506530 ] Julie Tibshirani edited comment on LUCENE-10466 at 3/14/22, 8:40 PM:

[jira] [Comment Edited] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Julie Tibshirani (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506530#comment-17506530 ] Julie Tibshirani edited comment on LUCENE-10466 at 3/14/22, 8:40 PM:

[GitHub] [lucene] jtibshirani merged pull request #745: Revert "LUCENE-10385: Implement Weight#count on IndexSortSortedNumeri…

2022-03-14 Thread GitBox
jtibshirani merged pull request #745: URL: https://github.com/apache/lucene/pull/745 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubs

[jira] [Commented] (LUCENE-10385) Implement Weight#count on IndexSortSortedNumericDocValuesRangeQuery.

2022-03-14 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506531#comment-17506531 ] ASF subversion and git services commented on LUCENE-10385: -- Co

[jira] [Commented] (LUCENE-10458) BoundedDocSetIdIterator may supply error count in Weigth#count(LeafReaderContext) when missingValue enables

2022-03-14 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506532#comment-17506532 ] ASF subversion and git services commented on LUCENE-10458: -- Co

[jira] [Updated] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko updated LUCENE-10466: -- Description: We have run into this issue while migrating to OpenSearch and making changes to

[jira] [Commented] (LUCENE-10466) IndexSortSortedNumericDocValuesRangeQuery unconditionally assumes the usage of the LONG-encoded SortField

2022-03-14 Thread Andriy Redko (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506548#comment-17506548 ] Andriy Redko commented on LUCENE-10466: --- Thanks a lot, [~julietibs] , working on

[GitHub] [lucene] gsmiller commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
gsmiller commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826440044 ## File path: lucene/facet/src/java/org/apache/lucene/facet/Facets.java ## @@ -48,4 +48,13 @@ public abstract FacetResult getTopChildren(int topN, String d

[GitHub] [lucene] Yuti-G commented on pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on pull request #747: URL: https://github.com/apache/lucene/pull/747#issuecomment-1067392546 > Thanks for picking this up! I've looked at everything except for your overridden implementation in SSDV faceting, but since I may run out of time to look at that today, I'll go a

[GitHub] [lucene] Yuti-G edited a comment on pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G edited a comment on pull request #747: URL: https://github.com/apache/lucene/pull/747#issuecomment-1067392546 > Thanks for picking this up! I've looked at everything except for your overridden implementation in SSDV faceting, but since I may run out of time to look at that today, I'

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826455347 ## File path: lucene/facet/src/java/org/apache/lucene/facet/Facets.java ## @@ -48,4 +48,13 @@ public abstract FacetResult getTopChildren(int topN, String dim

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826456302 ## File path: lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java ## @@ -243,6 +243,24 @@ public void testLongGetAllDims() throws E

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826456758 ## File path: lucene/facet/src/test/org/apache/lucene/facet/sortedset/TestSortedSetDocValuesFacets.java ## @@ -104,6 +104,65 @@ public void testBasic() throw

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826461610 ## File path: lucene/facet/src/test/org/apache/lucene/facet/sortedset/TestSortedSetDocValuesFacets.java ## @@ -104,6 +104,65 @@ public void testBasic() throw

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r82646 ## File path: lucene/facet/src/test/org/apache/lucene/facet/sortedset/TestSortedSetDocValuesFacets.java ## @@ -104,6 +104,65 @@ public void testBasic() throw

[GitHub] [lucene] Yuti-G commented on a change in pull request #747: LUCENE-10325: Add getTopDims functionality to Facets

2022-03-14 Thread GitBox
Yuti-G commented on a change in pull request #747: URL: https://github.com/apache/lucene/pull/747#discussion_r826461610 ## File path: lucene/facet/src/test/org/apache/lucene/facet/sortedset/TestSortedSetDocValuesFacets.java ## @@ -104,6 +104,65 @@ public void testBasic() throw

[jira] [Commented] (LUCENE-10325) Add getTopDims functionality to Facets

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506640#comment-17506640 ] Yuting Gan commented on LUCENE-10325: - Thanks [~gsmiller] for creating issue! I pr

[jira] [Comment Edited] (LUCENE-10325) Add getTopDims functionality to Facets

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506640#comment-17506640 ] Yuting Gan edited comment on LUCENE-10325 at 3/15/22, 12:22 AM: -

[jira] [Comment Edited] (LUCENE-10325) Add getTopDims functionality to Facets

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506640#comment-17506640 ] Yuting Gan edited comment on LUCENE-10325 at 3/15/22, 12:25 AM: -

[jira] [Updated] (LUCENE-10467) Throws IllegalArgumentException for getAllDims(0)

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuting Gan updated LUCENE-10467: Description: Currently, when calling getAllDims(0) in SortedSetDocValuesFacetCounts, it would th

[jira] [Created] (LUCENE-10467) Throws IllegalArgumentException for getAllDims(0)

2022-03-14 Thread Yuting Gan (Jira)
Yuting Gan created LUCENE-10467: --- Summary: Throws IllegalArgumentException for getAllDims(0) Key: LUCENE-10467 URL: https://issues.apache.org/jira/browse/LUCENE-10467 Project: Lucene - Core Iss

[jira] [Updated] (LUCENE-10467) Throws IllegalArgumentException for getAllDims if topN <= 0

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuting Gan updated LUCENE-10467: Description: Currently, when calling getAllDims(0) in SortedSetDocValuesFacetCounts, it would th

[jira] [Updated] (LUCENE-10467) Throws IllegalArgumentException for getAllDims if topN <= 0

2022-03-14 Thread Yuting Gan (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuting Gan updated LUCENE-10467: Summary: Throws IllegalArgumentException for getAllDims if topN <= 0 (was: Throws IllegalArgumen

[GitHub] [lucene] LuXugang commented on a change in pull request #736: LUCENE-10458: BoundedDocSetIdIterator may supply error count in Weigth#count(LeafReaderContext) when missingValue enables

2022-03-14 Thread GitBox
LuXugang commented on a change in pull request #736: URL: https://github.com/apache/lucene/pull/736#discussion_r826515036 ## File path: lucene/sandbox/src/java/org/apache/lucene/sandbox/search/IndexSortSortedNumericDocValuesRangeQuery.java ## @@ -198,16 +198,22 @@ public boole