Re: [PR] SolrJ HTTP/2 Async API using CompletableFuture (update for 2024) [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2402: URL: https://github.com/apache/solr/pull/2402#discussion_r156203 ## solr/solrj/src/test/org/apache/solr/client/solrj/impl/LBHttp2SolrClientTest.java: ## @@ -51,4 +67,249 @@ public void

Re: [PR] SolrJ HTTP/2 Async API using CompletableFuture (update for 2024) [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2402: URL: https://github.com/apache/solr/pull/2402#discussion_r1562016978 ## solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java: ## @@ -417,67 +419,101 @@ public void send(OutStream outStream, SolrRequest req, String

[jira] [Commented] (SOLR-10654) Expose Metrics in Prometheus format DIRECTLY from Solr

2024-04-11 Thread Matthew Biscocho (Jira)
[ https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17836390#comment-17836390 ] Matthew Biscocho commented on SOLR-10654: - Thanks for the info, [~dsmiley]! Actually came back to

Re: [PR] SOLR-16866: Reorder nested directory deletions to avoid NoSuchFileException [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2349: URL: https://github.com/apache/solr/pull/2349#discussion_r1561834394 ## solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java: ## @@ -302,6 +294,53 @@ private boolean closeCacheValue(CacheValue cacheValue) { return cl;

Re: [PR] SOLR-16866: Deleting a non-existent directory should not fail [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2336: URL: https://github.com/apache/solr/pull/2336#issuecomment-2050682221 Although I haven't looked at this in as much detail as others, I find Michael's arguments persuasive and would prefer we do #2349 instead. -- This is an automated message from the Apache

Re: [PR] Update GC logging options for Zookeeper [solr]

2024-04-11 Thread via GitHub
dsmiley merged PR #2364: URL: https://github.com/apache/solr/pull/2364 -- 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:

Re: [PR] Update GC logging options for Zookeeper [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2364: URL: https://github.com/apache/solr/pull/2364#issuecomment-2050664409 Thanks Radu! -- 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

Re: [PR] SOLR-17158 Terminate distributed processing quickly when query limit is reached - Initial impl [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2379: URL: https://github.com/apache/solr/pull/2379#discussion_r1561815614 ## solr/core/src/java/org/apache/solr/core/SolrXmlConfig.java: ## @@ -384,6 +384,9 @@ private static NodeConfig fillSolrSection(NodeConfig.NodeConfigBuilder builder,

[jira] [Commented] (SOLR-10654) Expose Metrics in Prometheus format DIRECTLY from Solr

2024-04-11 Thread David Smiley (Jira)
[ https://issues.apache.org/jira/browse/SOLR-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17836368#comment-17836368 ] David Smiley commented on SOLR-10654: - Cool to see [your PR|https://github.com/apache/solr/pull/2375]

Re: [PR] SOLR-17194: CloudHttp2SolrClient doesn't properly use httpClient Builder on certain paths [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2378: URL: https://github.com/apache/solr/pull/2378#discussion_r1561775883 ## solr/core/src/test/org/apache/solr/cli/TestExportTool.java: ## @@ -218,6 +231,66 @@ public void testVeryLargeCluster() throws Exception { } } + @Test +

Re: [PR] SOLR-17194: CloudHttp2SolrClient doesn't properly use httpClient Builder on certain paths [solr]

2024-04-11 Thread via GitHub
dsmiley commented on code in PR #2378: URL: https://github.com/apache/solr/pull/2378#discussion_r1561769753 ## solr/core/src/test/org/apache/solr/cli/TestExportTool.java: ## @@ -218,6 +231,66 @@ public void testVeryLargeCluster() throws Exception { } } + @Test +

[jira] [Commented] (SOLR-8393) Component for Solr resource usage planning

2024-04-11 Thread David Smiley (Jira)
[ https://issues.apache.org/jira/browse/SOLR-8393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17836360#comment-17836360 ] David Smiley commented on SOLR-8393: What about Solr's metrics API; has that been explored as a

Re: [PR] SOLR-8393: Component for resource usage planning [solr]

2024-04-11 Thread via GitHub
igiguere commented on PR #1638: URL: https://github.com/apache/solr/pull/1638#issuecomment-2050511702 @gerlowskija > Does `size-estimator-lucene-solr.xls` actually work for folks? Do you use it regularly @igiguere ? Have you found it to be pretty accurate? Any other folks have

[PR] SolrJ HTTP/2 Async API using CompletableFuture (update for 2024) [solr]

2024-04-11 Thread via GitHub
jdyer1 opened a new pull request, #2402: URL: https://github.com/apache/solr/pull/2402 This adds a standard `CompletableFuture`-based API to `Http2SolrClient`, `HttpJdkSolrClient` and `LBHttp2SolrClient`. The existing methods `asyncReq` are marked `@deprecated` and defer to the new API

Re: [PR] SOLR-8393: Component for resource usage planning [solr]

2024-04-11 Thread via GitHub
gerlowskija commented on PR #1638: URL: https://github.com/apache/solr/pull/1638#issuecomment-2050163434 About to take a look at the code and see if I can help with the v2 side of things, but before I dive into that I figured it was worth asking: Does `size-estimator-lucene-solr.xls`

Re: [PR] SOLR-17192: Add "field-limiting" URP to catch ill-designed schemas [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2395: URL: https://github.com/apache/solr/pull/2395#issuecomment-2050095834 I don't like the complexity in this URP relating to tolerance of where the URP is placed in the chain; I'd feel better if the URP were simplified from that concern and we expect the user to

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
epugh commented on code in PR #2400: URL: https://github.com/apache/solr/pull/2400#discussion_r1561301167 ## solr/core/src/java/org/apache/solr/util/IndexOutputOutputStream.java: ## @@ -20,11 +20,12 @@ import java.io.OutputStream; import org.apache.lucene.store.IndexOutput;

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
bruno-roustant commented on PR #2400: URL: https://github.com/apache/solr/pull/2400#issuecomment-2050033287 Renamed. It was used only in two internal locations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
epugh commented on PR #2400: URL: https://github.com/apache/solr/pull/2400#issuecomment-2050014227 The name "IndexOutputOutputStream", while slightly funny, is fine, with just a bit of docs to highlight what you said "wrap an IndexOutput to expose it as an OutputStream" would have helped

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2400: URL: https://github.com/apache/solr/pull/2400#issuecomment-2049990316 Lets rename this in main; separate no-JIRA PR. -- 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

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
bruno-roustant commented on PR #2400: URL: https://github.com/apache/solr/pull/2400#issuecomment-2049987103 I think PropertiesOutputStream could be renamed IndexOutputOutputStream because it is used to wrap an IndexOutput to expose it as an OutputStream. I can add some JavaDoc. Do you

Re: [PR] SOLR-17093: Collection restore API returns requestid when executed asynchronously [solr]

2024-04-11 Thread via GitHub
mariemat commented on code in PR #2111: URL: https://github.com/apache/solr/pull/2111#discussion_r1561202416 ## solr/core/src/java/org/apache/solr/handler/admin/api/RestoreCollectionAPI.java: ## @@ -144,10 +144,14 @@ public SubResponseAccumulatingJerseyResponse

Re: [PR] SOLR-17192: Add "field-limiting" URP to catch ill-designed schemas [solr]

2024-04-11 Thread via GitHub
gerlowskija commented on PR #2395: URL: https://github.com/apache/solr/pull/2395#issuecomment-2049901831 > Sorry if I rained on your parade, attempting to get this in by EOW. Oh no worries; there's no particular rush. That was just how long I was planning to wait if no one commented

Re: [PR] SOLR-13350: Multithreaded search [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2248: URL: https://github.com/apache/solr/pull/2248#issuecomment-2049895628 I figure that's somewhat pseudocode... so I don't want to over-critique that but it should have the XOR of the boundary long in-between each `arraycopy`. In practice you will likely loop

Re: [PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
epugh commented on PR #2400: URL: https://github.com/apache/solr/pull/2400#issuecomment-2049846868 Some JavaDocs on this class would be nice.. I looked at it, and I still don't quite grok why it is needed for a properties file? -- This is an automated message from the Apache Git

Re: [PR] remove stray backticks in solrcloud-distributed-requests.adoc [solr]

2024-04-11 Thread via GitHub
cpoerschke merged PR #2401: URL: https://github.com/apache/solr/pull/2401 -- 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:

Re: [PR] SOLR-13350: Multithreaded search [solr]

2024-04-11 Thread via GitHub
cpoerschke commented on PR #2248: URL: https://github.com/apache/solr/pull/2248#issuecomment-2049819054 > Yes I mean _the_ FixedBitSet (otherwise I just would have said a bit set). No I don't know of similar code doing this, and I don't expect it's in Lucene/Solr already. Lucene is very

Re: [PR] SOLR-17192: Add "field-limiting" URP to catch ill-designed schemas [solr]

2024-04-11 Thread via GitHub
gerlowskija commented on code in PR #2395: URL: https://github.com/apache/solr/pull/2395#discussion_r1560999237 ## solr/core/src/java/org/apache/solr/update/processor/NumFieldLimitingUpdateRequestProcessor.java: ## @@ -0,0 +1,140 @@ +/* + * Licensed to the Apache Software

Re: [PR] SOLR-17192: Add "field-limiting" URP to catch ill-designed schemas [solr]

2024-04-11 Thread via GitHub
gerlowskija commented on code in PR #2395: URL: https://github.com/apache/solr/pull/2395#discussion_r1561009284 ## solr/core/src/java/org/apache/solr/update/processor/NumFieldLimitingUpdateRequestProcessorFactory.java: ## @@ -0,0 +1,110 @@ +/* + * Licensed to the Apache

Re: [PR] Fix/solr 17018 branch 9 1 [solr]

2024-04-11 Thread via GitHub
alessandrobenedetti commented on PR #2358: URL: https://github.com/apache/solr/pull/2358#issuecomment-2049618343 > I glossed over this while simultaneously glossing over the branch_9x commit to see that you when to the same source files and made similar-ish looking changes. You did. In the

Re: [PR] Fix/solr 17018 branch 9 1 [solr]

2024-04-11 Thread via GitHub
dsmiley commented on PR #2358: URL: https://github.com/apache/solr/pull/2358#issuecomment-2049611339 I glossed over this while simultaneously glossing over the branch_9x commit to see that you when to the same source files and made similar-ish looking changes. You did. In the branch_9x

Re: [PR] Update dependency commons-codec:commons-codec to v1.16.1 [solr]

2024-04-11 Thread via GitHub
cpoerschke commented on PR #2266: URL: https://github.com/apache/solr/pull/2266#issuecomment-2049418174 > ... We have #2049 pending to upgrade to the latter. That's merged now. So tentatively requested rebase and will tentatively mark as ready-to-review then. -- This is an

Re: [PR] Update org.apache.logging.log4j:* to v2.23.1 [solr]

2024-04-11 Thread via GitHub
cpoerschke commented on PR #2047: URL: https://github.com/apache/solr/pull/2047#issuecomment-2049412817 Similar to #1821 i.e. blocked on JDK 17+ -- if I find a third solrbot PR like it I'll create a JIRA and then close out these in favour of that.

Re: [PR] Update dependency com.adobe.testing:s3mock-junit4 to v3 [solr]

2024-04-11 Thread via GitHub
cpoerschke commented on PR #1821: URL: https://github.com/apache/solr/pull/1821#issuecomment-2049409176 Wondering if we'd like to * close this, * create a JIRA for manual upgrade later and * exclude from solrbot trying again * (and then the exclusion would be removed as part of

[PR] remove stray backticks in solrcloud-distributed-requests.adoc [solr]

2024-04-11 Thread via GitHub
cpoerschke opened a new pull request, #2401: URL: https://github.com/apache/solr/pull/2401 (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] Fix/solr 17018 branch 9 1 [solr]

2024-04-11 Thread via GitHub
alessandrobenedetti commented on PR #2358: URL: https://github.com/apache/solr/pull/2358#issuecomment-2049310875 Adding @dsmiley as a reviewer as I noticed some work in the same area back then: https://github.com/apache/lucene-solr/pull/1726/files The rationale behind this

[PR] SOLR-17232: PropertiesOutputStream overrides write(byte[], int, int). [solr]

2024-04-11 Thread via GitHub
bruno-roustant opened a new pull request, #2400: URL: https://github.com/apache/solr/pull/2400 https://issues.apache.org/jira/browse/SOLR-17232 -- 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

[jira] [Created] (SOLR-17232) PropertiesOutputStream does not override write(byte[], int, int)

2024-04-11 Thread Bruno Roustant (Jira)
Bruno Roustant created SOLR-17232: - Summary: PropertiesOutputStream does not override write(byte[], int, int) Key: SOLR-17232 URL: https://issues.apache.org/jira/browse/SOLR-17232 Project: Solr