Re: [PR] Simplify PackedInts#longCount [lucene]

2024-04-03 Thread via GitHub
easyice commented on PR #13256: URL: https://github.com/apache/lucene/pull/13256#issuecomment-2033942299 Thanks for reviewing @mikemccand ! -- 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 spe

Re: [PR] Simplify PackedInts#longCount [lucene]

2024-04-03 Thread via GitHub
easyice merged PR #13256: URL: https://github.com/apache/lucene/pull/13256 -- 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-unsubscr...@lucene.apa

Re: [I] Remove Accountable interface on KnnVectorsReader [lucene]

2024-04-03 Thread via GitHub
jpountz commented on issue #13241: URL: https://github.com/apache/lucene/issues/13241#issuecomment-2033982972 It's true that these things can still use amounts of heap that are not completely negligible, but I wonder if it's a good reason to preserve this interface. Doc values too can use n

Re: [PR] Remove Accountable interface in KnnVectorsReader [lucene]

2024-04-03 Thread via GitHub
jpountz commented on PR #13255: URL: https://github.com/apache/lucene/pull/13255#issuecomment-2033985720 Thanks for looking into this. Can you add an entry to lucene/MIGRATE.txt and lucene/CHANGES.txt under 10.0? Let's also wait for the discussion to settle on the linked issue as it l

Re: [PR] Remove Accountable interface in KnnVectorsReader [lucene]

2024-04-03 Thread via GitHub
jpountz commented on PR #13255: URL: https://github.com/apache/lucene/pull/13255#issuecomment-2033991164 Separately, I wonder if removing `Accountable` on `KnnVectorsReader` would help remove the `Accountable` on some other utility classes. For instance, it looks like `DirectMonotonicReader

Re: [PR] Simplify bytes arrays in NumericLeafComparator to long [lucene]

2024-04-03 Thread via GitHub
jpountz commented on code in PR #13246: URL: https://github.com/apache/lucene/pull/13246#discussion_r1549312756 ## lucene/core/src/java/org/apache/lucene/search/comparators/NumericComparator.java: ## @@ -85,6 +82,10 @@ public void disableSkipping() { pruning = Pruning.NONE;

Re: [PR] Remove ReadAdvice.NORMAL. [lucene]

2024-04-03 Thread via GitHub
jpountz commented on PR #13244: URL: https://github.com/apache/lucene/pull/13244#issuecomment-2034094094 @mikemccand I wonder if we need to create such a sophisticated benchmark. If we could confirm that performance is not affected when the cache is hot, and better when the cache is cold, m

Re: [I] `FSTCompiler.Builder` should have an option to stream the FST bytes directly to Directory [lucene]

2024-04-03 Thread via GitHub
dungba88 commented on issue #12543: URL: https://github.com/apache/lucene/issues/12543#issuecomment-2034162204 Yeah we released in 9.10. Thank you! -- 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

Re: [PR] Adds bwc indices for 9.10.1 [lucene]

2024-04-03 Thread via GitHub
benwtrent merged PR #13258: URL: https://github.com/apache/lucene/pull/13258 -- 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-unsubscr...@lucene.a

Re: [PR] Adds bwc indices for 9.10.1 [lucene]

2024-04-03 Thread via GitHub
mikemccand commented on PR #13258: URL: https://github.com/apache/lucene/pull/13258#issuecomment-2034363245 Super, thank you @benwtrent ! -- 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 speci

[PR] Rename NodeHash to FSTSuffixNodeCache [lucene]

2024-04-03 Thread via GitHub
dungba88 opened a new pull request, #13259: URL: https://github.com/apache/lucene/pull/13259 ### Description Rename NodeHash to FSTSuffixNodeCache as NodeHash is rather an obscured name which doesn't tell its exact functionality. I also added the class Javadoc to explain what it is f

Re: [PR] Remove ReadAdvice.NORMAL. [lucene]

2024-04-03 Thread via GitHub
mikemccand commented on PR #13244: URL: https://github.com/apache/lucene/pull/13244#issuecomment-2034496802 Yeah +1 I don't think we should block this change on sophisticated benchmarking! If we "first do no harm" (hot case not affected), and If we can show some improvement (or even no deg

Re: [PR] Make Lucene90 postings format to write FST off heap [lucene]

2024-04-03 Thread via GitHub
dungba88 commented on PR #12985: URL: https://github.com/apache/lucene/pull/12985#issuecomment-2034501658 @mikemccand I've added the suggestion so that baby-giant FST will also be written off-heap if they are above some threshold. Let me know if there is other changes needed. -- This is

Re: [PR] Add timeout support to AbstractKnnVectorQuery [lucene]

2024-04-03 Thread via GitHub
vigyasharma merged PR #13202: URL: https://github.com/apache/lucene/pull/13202 -- 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-unsubscr...@lucene

Re: [PR] Remove ReadAdvice.NORMAL. [lucene]

2024-04-03 Thread via GitHub
uschindler commented on PR #13244: URL: https://github.com/apache/lucene/pull/13244#issuecomment-2035029064 Could we still keep the NORMAL ReadAdvice constant and its mappings? We should just change the default! I can add a system property to make it configurable like the other MMapDi

[PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph to [lucene]

2024-04-03 Thread via GitHub
msokolov opened a new pull request, #13260: URL: https://github.com/apache/lucene/pull/13260 …rityQueryTestCase ### Description -- 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

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
uschindler commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550113268 ## lucene/core/src/test/org/apache/lucene/search/BaseVectorSimilarityQueryTestCase.java: ## @@ -165,6 +171,9 @@ public void testRandomFilter() throws IOException {

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550132304 ## lucene/core/src/test/org/apache/lucene/search/BaseVectorSimilarityQueryTestCase.java: ## @@ -522,4 +534,20 @@ final Directory getIndexStore(V... vectors) throws I

Re: [I] HnwsGraph creates disconnected components [lucene]

2024-04-03 Thread via GitHub
msokolov commented on issue #12627: URL: https://github.com/apache/lucene/issues/12627#issuecomment-2035204303 Thanks @benwtrent I opened https://github.com/apache/lucene/pull/13260 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
benwtrent commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550212263 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
uschindler commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550222475 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
shubhamvishu commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550266166 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (AS

Re: [PR] GITHUB-13218: Add migrate entry for Collector to CollectorManager migration [lucene]

2024-04-03 Thread via GitHub
zacharymorn commented on code in PR #13238: URL: https://github.com/apache/lucene/pull/13238#discussion_r1550291935 ## lucene/MIGRATE.md: ## @@ -185,6 +185,34 @@ enum. `IOContext#LOAD` has been replaced with `IOContext#PRELOAD`. +### IndexSearch#search(Query, Collector) bei

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550337601 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550342370 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550345012 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550345012 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550353061 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
benwtrent commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550356555 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550361771 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
uschindler commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550379842 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550380731 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
uschindler commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550381645 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
msokolov commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550383513 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) u

Re: [PR] BaseVectorSimilarityQueryTestCase assumes connected hnsw graph [lucene]

2024-04-03 Thread via GitHub
uschindler commented on code in PR #13260: URL: https://github.com/apache/lucene/pull/13260#discussion_r1550390970 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/hnsw/HnswTestUtil.java: ## @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [I] jenkins dump file traversal exceptions ("no matches found within 10000") [lucene]

2024-04-03 Thread via GitHub
dweiss closed issue #12907: jenkins dump file traversal exceptions ("no matches found within 1") URL: https://github.com/apache/lucene/issues/12907 -- 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 t

Re: [PR] Doc reordering avoid iterations: cooling using simulated annealing [lucene]

2024-04-03 Thread via GitHub
github-actions[bot] commented on PR #13186: URL: https://github.com/apache/lucene/pull/13186#issuecomment-2035841822 This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the d...@lucene.apache.org list. Thank you for your contributi