Skip to content

Commit

Permalink
SOLR-17159: Untangle PostTool and SimplePostTool code (#2275)
Browse files Browse the repository at this point in the history
* Copied unit tests from SimplePostToolTest to PostToolTest
* add a --dry-run mode that simulates sending documents to Solr
* Missed a few more places with -commit not needed post SOLR-17147 being completed
* clean up our code base to have fewer warnings about code quality.
* Update SolrCloudExampleTest to use the PostTool instead of simulating it's usage.
* Make the long form of -url expliciting a --solr-update-url to be clear what it's for.
  • Loading branch information
epugh committed Feb 19, 2024
1 parent 53a25d1 commit bb0675b
Show file tree
Hide file tree
Showing 6 changed files with 1,396 additions and 88 deletions.
3 changes: 3 additions & 0 deletions solr/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ Improvements

* SOLR-17145: The INSTALLSHARDDATA API now includes a 'requestid' field when run asynchronously (Jason Gerlowski)

* SOLR-17159: bin/solr post now has proper unit testing. Users can specify a --dry-run option to
simulate posting documents without sending them to Solr. (Eric Pugh)

Optimizations
---------------------
* SOLR-17144: Close searcherExecutor thread per core after 1 minute (Pierre Salagnac, Christine Poerschke)
Expand Down
Loading

0 comments on commit bb0675b

Please sign in to comment.