[GitHub] [lucene] zhaih merged pull request #11815: Support deletions in rearrange (#11814)

2022-11-21 Thread GitBox
zhaih merged PR #11815: URL: https://github.com/apache/lucene/pull/11815 -- 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.apach

[GitHub] [lucene] donnerpeter commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
donnerpeter commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1323247726 Aha! What do you think should be added there? I'd expect the APIs to stay the same, maybe with more of them available in 10. -- This is an automated message from the Apache Git Ser

[GitHub] [lucene] jpountz commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
jpountz commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323233839 No worries at all @dweiss, thanks a lot for modernizing Maven staging upload, it's a relief we no longer have a dependency on a 8.x build! -- This is an automated message from the Apac

[GitHub] [lucene] dweiss commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
dweiss commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323217423 Hi @jpountz . Sorry about this - I'm not sure what happened there but the relative upload path of those artifacts was indeed wrong (and I'm also not sure why nexus isn't complaining about

[GitHub] [lucene] dweiss commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
dweiss commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323185638 Give me a sec. you're getting a different output than I do then. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

[GitHub] [lucene] jpountz commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
jpountz commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323185011 This is the folder I ran it against. I used the same folder that the release wizard recommended using with the Ant build. -- This is an automated message from the Apache Git Service. T

[GitHub] [lucene] dweiss commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
dweiss commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323178110 The script should be pointed at the maven folder, including parent subfolders, as in: https://dist.apache.org/repos/dist/dev/lucene/lucene-9.4.0-RC2-rev-0384b4fcad7856ddc574c8b994c

[GitHub] [lucene] elliotzlin commented on pull request #11724: LUCENE-10520 / #11556 HTMLStripCharFilter bugfix

2022-11-21 Thread GitBox
elliotzlin commented on PR #11724: URL: https://github.com/apache/lucene/pull/11724#issuecomment-1323161181 @dweiss @rmuir bumping this old thread again. -- 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

[GitHub] [lucene] dweiss commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
dweiss commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323158142 I think I know what the problem is, but would like a confirmation from you first - let me know what you pointed the script at (which directory). -- This is an automated message from the

[GitHub] [lucene] dweiss commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
dweiss commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1323156175 @jpountz What did you point the script at, exactly? I'll look into it - drop the staging repo, please. -- This is an automated message from the Apache Git Service. To respond to the me

[GitHub] [lucene] dweiss commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
dweiss commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1323154169 Sorry - typed from memory, here it is: https://github.com/apache/lucene/blob/main/lucene/MIGRATE.md -- This is an automated message from the Apache Git Service. To respond to the mess

[GitHub] [lucene] donnerpeter commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
donnerpeter commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1322653084 What's migration.txt? I see no such file in the repository :( -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [lucene] jpountz commented on pull request #11947: Add self-contained artifact upload script for apache nexus (#11329)

2022-11-21 Thread GitBox
jpountz commented on PR #11947: URL: https://github.com/apache/lucene/pull/11947#issuecomment-1322642852 @dweiss Your new script put all files at the top level, which seems to make the release step not work. I did a release several hours ago and 9.4.2 still doesn't appear on Maven Central w

[GitHub] [lucene] dweiss commented on a diff in pull request #11958: GITHUB-11868: Add FilterIndexInput and FilterIndexOutput wrapper classes

2022-11-21 Thread GitBox
dweiss commented on code in PR #11958: URL: https://github.com/apache/lucene/pull/11958#discussion_r1028411698 ## lucene/core/src/java/org/apache/lucene/store/FilterIndexOutput.java: ## @@ -0,0 +1,113 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

[GitHub] [lucene] shubhamvishu commented on a diff in pull request #11950: Fix NPE in BinaryRangeFieldRangeQuery when field does not exist or is of wrong type

2022-11-21 Thread GitBox
shubhamvishu commented on code in PR #11950: URL: https://github.com/apache/lucene/pull/11950#discussion_r1028378099 ## lucene/core/src/java/org/apache/lucene/document/BinaryRangeFieldRangeQuery.java: ## @@ -91,7 +92,11 @@ public Query rewrite(IndexSearcher indexSearcher) throws

[GitHub] [lucene] shubhamvishu commented on a diff in pull request #11950: Fix NPE in BinaryRangeFieldRangeQuery when field does not exist or is of wrong type

2022-11-21 Thread GitBox
shubhamvishu commented on code in PR #11950: URL: https://github.com/apache/lucene/pull/11950#discussion_r1028378099 ## lucene/core/src/java/org/apache/lucene/document/BinaryRangeFieldRangeQuery.java: ## @@ -91,7 +92,11 @@ public Query rewrite(IndexSearcher indexSearcher) throws

[GitHub] [lucene] shubhamvishu commented on a diff in pull request #11950: Fix NPE in BinaryRangeFieldRangeQuery when field does not exist or is of wrong type

2022-11-21 Thread GitBox
shubhamvishu commented on code in PR #11950: URL: https://github.com/apache/lucene/pull/11950#discussion_r1028376885 ## lucene/core/src/test/org/apache/lucene/search/TestRangeFieldsDocValuesQuery.java: ## @@ -226,4 +228,30 @@ public void testToString() { Query q4 = LongRang

[GitHub] [lucene] mdmarshmallow commented on a diff in pull request #11958: GITHUB-11868: Add FilterIndexInput and FilterIndexOutput wrapper classes

2022-11-21 Thread GitBox
mdmarshmallow commented on code in PR #11958: URL: https://github.com/apache/lucene/pull/11958#discussion_r1028358333 ## lucene/core/src/java/org/apache/lucene/store/FilterIndexOutput.java: ## @@ -0,0 +1,113 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one o

[GitHub] [lucene] mdmarshmallow commented on issue #11868: Add a FilterIndexOutput

2022-11-21 Thread GitBox
mdmarshmallow commented on issue #11868: URL: https://github.com/apache/lucene/issues/11868#issuecomment-1322431148 Here's the PR: https://github.com/apache/lucene/pull/11958 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [lucene] dweiss closed issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
dweiss closed issue #11957: false warning around 'gitStatus' on newish macos X URL: https://github.com/apache/lucene/issues/11957 -- 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.

[GitHub] [lucene] dweiss merged pull request #11959: jgit shouldn't fork git to find out the config dir

2022-11-21 Thread GitBox
dweiss merged PR #11959: URL: https://github.com/apache/lucene/pull/11959 -- 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

[GitHub] [lucene] dweiss commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
dweiss commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322354312 Sorry for the delay - thanks for testing, Robert. The reason jgit does this is, I believe, to extract user-specific git options so that jgit and git behave the same (for example per-

[GitHub] [lucene] dweiss commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
dweiss commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1322351054 No, absolutely - I think these changes are great and everyone on 9x would benefit from them. We should probably add a note to migration.txt but otherwise I'm more than fine for everything

[GitHub] [lucene] gsmiller commented on pull request #11901: Github#11869: Add RangeOnRangeFacetCounts

2022-11-21 Thread GitBox
gsmiller commented on PR #11901: URL: https://github.com/apache/lucene/pull/11901#issuecomment-1322333279 > Ah yeah good point on the FacetSets... so I actually already use LongRangeDocValueFields here: public class LongRangeDocValuesFacetField extends LongRangeDocValuesField. The differenc

[GitHub] [lucene] benwtrent commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
benwtrent commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028208385 ## lucene/core/src/java/org/apache/lucene/codecs/lucene95/Lucene95HnswVectorsFormat.java: ## @@ -0,0 +1,180 @@ +/* + * Licensed to the Apache Software Foundation (AS

[GitHub] [lucene] benwtrent commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
benwtrent commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028205980 ## lucene/core/src/java/org/apache/lucene/codecs/lucene95/Lucene95HnswVectorsFormat.java: ## @@ -0,0 +1,180 @@ +/* + * Licensed to the Apache Software Foundation (AS

[GitHub] [lucene] benwtrent commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
benwtrent commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028205264 ## lucene/core/src/java/org/apache/lucene/codecs/lucene95/Lucene95HnswVectorsFormat.java: ## @@ -0,0 +1,180 @@ +/* + * Licensed to the Apache Software Foundation (AS

[GitHub] [lucene] rmuir commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
rmuir commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028082967 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Fou

[GitHub] [lucene] rmuir commented on pull request #11955: Remove synchronization from OpenNLP integration and add thread-safety tests(checkRandomData)

2022-11-21 Thread GitBox
rmuir commented on PR #11955: URL: https://github.com/apache/lucene/pull/11955#issuecomment-1322116142 There's just nothing we can do to workaround such bugs effectively. Applications are better positioned to implement workarounds. We are just another library. I'd recommend opening an issue

[GitHub] [lucene] jpountz commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
jpountz commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028076412 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software F

[GitHub] [lucene] kotman12 commented on pull request #11955: Remove synchronization from OpenNLP integration and add thread-safety tests(checkRandomData)

2022-11-21 Thread GitBox
kotman12 commented on PR #11955: URL: https://github.com/apache/lucene/pull/11955#issuecomment-1322109984 > > Thanks for the clarification, that does make things simpler to analyze. I still think there is a race condition between parallel calls to `FilterFactory:create` mainly because of un

[GitHub] [lucene] rmuir commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
rmuir commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028073537 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Fou

[GitHub] [lucene] rmuir commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
rmuir commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028071843 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Fou

[GitHub] [lucene] uschindler commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
uschindler commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322106594 > It is different if there is a real risk to some user. Let me try to trick jenkins to print /etc/passwd when checking out something with jgit. -- This is an automated m

[GitHub] [lucene] rmuir commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
rmuir commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322103222 i know, but i hate how "security" gets abused for purposes like that. It is different if there is a real risk to some user. -- This is an automated message from the Apache Git

[GitHub] [lucene] rmuir commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
rmuir commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028070021 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Fou

[GitHub] [lucene] rmuir commented on pull request #11955: Remove synchronization from OpenNLP integration and add thread-safety tests(checkRandomData)

2022-11-21 Thread GitBox
rmuir commented on PR #11955: URL: https://github.com/apache/lucene/pull/11955#issuecomment-1322098085 > Thanks for the clarification, that does make things simpler to analyze. I still think there is a race condition between parallel calls to `FilterFactory:create` mainly because of unsynch

[GitHub] [lucene] uschindler commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
uschindler commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322097248 I was not against fixing it here. But as a good open source citizen we should at least report this. If we declare it as security issue (e.g., it could affect Jenkin's git plugin

[GitHub] [lucene] benwtrent commented on a diff in pull request #11860: GITHUB-11830 Better optimize storage for vector connections

2022-11-21 Thread GitBox
benwtrent commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1028062221 ## lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene94/ExpandingVectorValues.java: ## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software

[GitHub] [lucene] kotman12 commented on pull request #11955: Remove synchronization from OpenNLP integration and add thread-safety tests(checkRandomData)

2022-11-21 Thread GitBox
kotman12 commented on PR #11955: URL: https://github.com/apache/lucene/pull/11955#issuecomment-1322093451 > > > Does this library also check for race conditions that can arise between ResourceLoaderAware::inform vs TokenStream creation and processing? I know it may be out of the scope of th

[GitHub] [lucene] rmuir commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
rmuir commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322092882 i'll help dawid and fix the unix side by setting the env var. we can clear it up right now, we don't need to push this to our downstream users. as far as upstream, no need to w

[GitHub] [lucene] uschindler commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
uschindler commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322084003 But without that export and the env var, this oculd still be a security issue, as Dawid showed. I just think this should be fixed downstream and it should not fork processes by d

[GitHub] [lucene] rmuir commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
rmuir commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322079238 well for us there is no concern of anything, we don't need to suck in any fancy git configuration for the minimal way we use this jgit (simply checking the status) -- This is an au

[GitHub] [lucene] uschindler commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
uschindler commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322059176 Hi, > Yeah... it's absolutely terrible that jgit blindly forks git off the path. I just made the Lucene build open a file editor by renaming it to git.exe... I think

[GitHub] [lucene] rmuir commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
rmuir commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1322043978 we should `export` on its own line, if thats how other env vars are working? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [lucene] donnerpeter commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
donnerpeter commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1322018484 @dweiss I've scheduled them for 10 for now, thanks! Actually, if there happens to be a new major release from the 9x branch, I'd like to backport all recent Hunspell changes there. D

[GitHub] [lucene] uschindler commented on pull request #11955: Remove synchronization from OpenNLP integration and add thread-safety tests(checkRandomData)

2022-11-21 Thread GitBox
uschindler commented on PR #11955: URL: https://github.com/apache/lucene/pull/11955#issuecomment-1321850829 > > Does this library also check for race conditions that can arise between ResourceLoaderAware::inform vs TokenStream creation and processing? I know it may be out of the scope of th

[GitHub] [lucene] dweiss commented on pull request #11960: hunspell: support empty dictionaries, adapt to the hunspell/C++ repo changes

2022-11-21 Thread GitBox
dweiss commented on PR #11960: URL: https://github.com/apache/lucene/pull/11960#issuecomment-1321846471 Pater, would you mark the milestone these changes go into? If they're not going to be backported to 9x, then only main (10.0.0) would be the right one to select. -- This is an automate

[GitHub] [lucene] romseygeek merged pull request #11941: Add field as a separate input to newSynonymQuery

2022-11-21 Thread GitBox
romseygeek merged PR #11941: URL: https://github.com/apache/lucene/pull/11941 -- 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.

[GitHub] [lucene] romseygeek closed issue #11864: ArrayIndexOutOfBoundException

2022-11-21 Thread GitBox
romseygeek closed issue #11864: ArrayIndexOutOfBoundException URL: https://github.com/apache/lucene/issues/11864 -- 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,

[GitHub] [lucene] stefanvodita commented on a diff in pull request #11815: Support deletions in rearrange (#11814)

2022-11-21 Thread GitBox
stefanvodita commented on code in PR #11815: URL: https://github.com/apache/lucene/pull/11815#discussion_r1027768094 ## lucene/misc/src/java/org/apache/lucene/misc/index/BinaryDocValueSelector.java: ## @@ -30,52 +31,94 @@ import org.apache.lucene.store.Directory; import org.ap

[GitHub] [lucene] dweiss commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
dweiss commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1321715665 Windows part at: #11959 -- 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 c

[GitHub] [lucene] dweiss commented on issue #11957: false warning around 'gitStatus' on newish macos X

2022-11-21 Thread GitBox
dweiss commented on issue #11957: URL: https://github.com/apache/lucene/issues/11957#issuecomment-1321712405 Should we do: ``` GIT_CONFIG_NOSYSTEM=1 exec "$JAVACMD" "$@" ``` or a separate set/export above? I am a bit concerned by the amount of customizations that go into th