Re: [PR] jgit/ clean status check should ignore any 'untracked folders' [lucene]

2024-09-06 Thread via GitHub
dweiss merged PR #13728: URL: https://github.com/apache/lucene/pull/13728 -- 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.apac

Re: [PR] Add unit-of-least-precision float comparison [lucene]

2024-09-06 Thread via GitHub
aherbert commented on code in PR #13723: URL: https://github.com/apache/lucene/pull/13723#discussion_r1746618586 ## lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java: ## @@ -881,27 +881,30 @@ public static void assumeNoException(String msg, Excepti

[PR] PayloadScoreQuery javadoc update w.r.t. SpanQuery use [lucene]

2024-09-06 Thread via GitHub
cpoerschke opened a new pull request, #13731: URL: https://github.com/apache/lucene/pull/13731 (no comment) -- 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,

Re: [PR] jgit/ clean status check should ignore any 'untracked folders' [lucene]

2024-09-06 Thread via GitHub
uschindler commented on PR #13728: URL: https://github.com/apache/lucene/pull/13728#issuecomment-2333707595 Thanks. I wasn't aware of this extra File walk. Who added this? Thanks for removing it. -- This is an automated message from the Apache Git Service. To respond to the message, pleas

Re: [PR] Add unit-of-least-precision float comparison [lucene]

2024-09-06 Thread via GitHub
uschindler commented on code in PR #13723: URL: https://github.com/apache/lucene/pull/13723#discussion_r1746885657 ## lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java: ## @@ -654,7 +654,7 @@ private void assertFloatFacetResultsEqual(List

Re: [I] Should the static search methods in FacetsCollector take a FacetsCollector as last argument? [lucene]

2024-09-06 Thread via GitHub
javanna commented on issue #13725: URL: https://github.com/apache/lucene/issues/13725#issuecomment-2333752360 I agree @gsmiller , I am inclined to be stricter. Also, while we make this breaking change, we can go directly from `Collector` to `FacetsCollectorManager`. I am also considering mo

Re: [I] simplify checkWorkingCopyClean to make backporting easier? [lucene]

2024-09-06 Thread via GitHub
dweiss commented on issue #13719: URL: https://github.com/apache/lucene/issues/13719#issuecomment-2333762856 > The check on a developers computer was not really wanted, so originally the task was only executed on CI runs. I don't know about that - I think it's one of the original reas

Re: [PR] jgit/ clean status check should ignore any 'untracked folders' [lucene]

2024-09-06 Thread via GitHub
dweiss commented on PR #13728: URL: https://github.com/apache/lucene/pull/13728#issuecomment-2333765565 > Thanks. I wasn't aware of this extra File walk. Who added this? Thanks for removing it. Can't remember. Could have been me. Clearly not working in all cases though. -- This is

Re: [PR] New JMH benchmark method - vdot8s that implement int8 dotProduct in C… [lucene]

2024-09-06 Thread via GitHub
uschindler commented on PR #13572: URL: https://github.com/apache/lucene/pull/13572#issuecomment-2333805272 Hi the whole setup of the calls to native code are not correct. In Lucene we don't use or need "--enable-preview", because we have a special way to compile the code ("you added it mar

[PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
ChrisHegarty opened a new pull request, #13732: URL: https://github.com/apache/lucene/pull/13732 This commit adds a migration note about the removal of optional RegExp complement support. I just added a sentence to an existing section, but if we have further advice it may be worth se

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
ChrisHegarty commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2333840754 The removal of the optional complement syntax is technically a "breaking" change. It is of course fine to do such things in a major release, no issue there. Just want to ensure that

Re: [PR] Replace static FacetsCollector#search methods [lucene]

2024-09-06 Thread via GitHub
javanna commented on code in PR #13733: URL: https://github.com/apache/lucene/pull/13733#discussion_r1746991600 ## lucene/facet/src/java/org/apache/lucene/facet/FacetsCollectorManager.java: ## @@ -54,4 +79,135 @@ public ReducedFacetsCollector(final Collection facetsCollectors

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
mikemccand commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2333897038 Thanks @ChrisHegarty for catching this! It's important to document all breaks in `MIGRATE.md`. I'm trying to understand why/when we removed this operator. Was it really durin

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
rmuir commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2333960253 maybe this small post with diagram helps explain the situation: I hope it is more clear that there's no way we could support "let caller decide NFA vs DFA" with this operator: https://euge

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
rmuir commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2333973731 and the title of this video can't be beat: https://www.youtube.com/watch?v=bbMku8ZAoBk -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
mikemccand commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2334106736 Phew, thank you for the historical context @rmuir!! I forgot about the horrors of complementing NFAs... I love that talk title. -- This is an automated message from the Apache Git

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
rmuir commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2334113812 Sorry, i was a bit offended that it might have been accidental :) I tried to make it possible for us to support NFA query in straightforward way, without bringing insanity to APIs, i

Re: [PR] Remove leftover search(Query, Collector) usages in TestTaxonomyFacetAssociations [lucene]

2024-09-06 Thread via GitHub
javanna commented on PR #13726: URL: https://github.com/apache/lucene/pull/13726#issuecomment-2334115120 It seems like I missed something, maybe that's why these methods were not migrated yet :) I got a failure with seed `8DDC50A89D6B6EC9`. Digging. -- This is an automated message from th

Re: [PR] Replace static FacetsCollector#search methods [lucene]

2024-09-06 Thread via GitHub
gsmiller commented on code in PR #13733: URL: https://github.com/apache/lucene/pull/13733#discussion_r1747170856 ## lucene/facet/src/java/org/apache/lucene/facet/FacetsCollectorManager.java: ## @@ -54,4 +79,138 @@ public ReducedFacetsCollector(final Collection facetsCollectors

Re: [PR] Add support for intra-segment search concurrency [lucene]

2024-09-06 Thread via GitHub
msokolov commented on PR #13542: URL: https://github.com/apache/lucene/pull/13542#issuecomment-2334328695 Adding a new optional constructor 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 abov

Re: [PR] Remove usage of IndexSearcher#Search(Query, Collector) from monitor package [lucene]

2024-09-06 Thread via GitHub
gsmiller commented on PR #13735: URL: https://github.com/apache/lucene/pull/13735#issuecomment-2334400226 OK, I _think_ this is still a safe implementation but the change is that multiple collection threads will now be concurrently calling `CandidateMatcher#addMatch`. I believe this is safe

Re: [I] Remove all deprecated IndexSearcher#search(Query, Collector) usage / methods in the next major release [lucene]

2024-09-06 Thread via GitHub
gsmiller commented on issue #12892: URL: https://github.com/apache/lucene/issues/12892#issuecomment-2334402205 Opened #13735 for the `monitor` usage -- 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: [I] monitor: CollectingMatcher [lucene]

2024-09-06 Thread via GitHub
gsmiller closed issue #13736: monitor: CollectingMatcher URL: https://github.com/apache/lucene/issues/13736 -- 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-ma

Re: [PR] Add migration note about the removal of optional RegExp complement syntax [lucene]

2024-09-06 Thread via GitHub
ChrisHegarty commented on PR #13732: URL: https://github.com/apache/lucene/pull/13732#issuecomment-2334426390 Thank @rmuir. I included that advice in the migration note. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] Replace static FacetsCollector#search methods [lucene]

2024-09-06 Thread via GitHub
javanna commented on code in PR #13733: URL: https://github.com/apache/lucene/pull/13733#discussion_r1747548475 ## lucene/facet/src/java/org/apache/lucene/facet/FacetsCollectorManager.java: ## @@ -54,4 +79,138 @@ public ReducedFacetsCollector(final Collection facetsCollectors

Re: [PR] Remove usage of IndexSearcher#Search(Query, Collector) from monitor package [lucene]

2024-09-06 Thread via GitHub
javanna commented on PR #13735: URL: https://github.com/apache/lucene/pull/13735#issuecomment-2334629622 I am not familiar with this code but I believe you are correct. This should work despite we use a plain `ArrayList`, because each thread should only get and compute its own docs. Testing

Re: [PR] Add Bulk Scorer For ToParentBlockJoinQuery [lucene]

2024-09-06 Thread via GitHub
Mikep86 commented on code in PR #13697: URL: https://github.com/apache/lucene/pull/13697#discussion_r1747612996 ## lucene/join/src/test/org/apache/lucene/search/join/TestBlockJoinBulkScorer.java: ## @@ -0,0 +1,450 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

Re: [PR] Replace static FacetsCollector#search methods [lucene]

2024-09-06 Thread via GitHub
javanna commented on PR #13733: URL: https://github.com/apache/lucene/pull/13733#issuecomment-2334786138 Thanks a lot for the speedy review @gsmiller ! -- 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 g

Re: [PR] Replace static FacetsCollector#search methods [lucene]

2024-09-06 Thread via GitHub
javanna merged PR #13733: URL: https://github.com/apache/lucene/pull/13733 -- 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] Should the static search methods in FacetsCollector take a FacetsCollector as last argument? [lucene]

2024-09-06 Thread via GitHub
javanna closed issue #13725: Should the static search methods in FacetsCollector take a FacetsCollector as last argument? URL: https://github.com/apache/lucene/issues/13725 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [I] simplify checkWorkingCopyClean to make backporting easier? [lucene]

2024-09-06 Thread via GitHub
dweiss commented on issue #13719: URL: https://github.com/apache/lucene/issues/13719#issuecomment-2334831855 About right. These are my top three: ``` git status git add -A . git commit -m "foo" ``` and these are used much, much more rarely: ``` git cherry-pick git b

Re: [PR] Deprecate FacetsCollector#search utility methods [lucene]

2024-09-06 Thread via GitHub
gsmiller commented on code in PR #13737: URL: https://github.com/apache/lucene/pull/13737#discussion_r1747783583 ## lucene/facet/src/java/org/apache/lucene/facet/FacetsCollectorManager.java: ## @@ -54,4 +79,167 @@ public ReducedFacetsCollector(final Collection facetsCollectors