Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-17556: Examples should run with the standard & recommended Solr home and solr data dir #2861

Merged
merged 11 commits into from
Nov 22, 2024

Conversation

epugh
Copy link
Contributor

@epugh epugh commented Nov 12, 2024

https://issues.apache.org/jira/browse/SOLR-17556

Description

Except for -e cloud, all the other examples just store their data and configs as if you did just a normal bin/solr start and then created them by hand!

Solution

Remove some use of exampledir

Tests

Unit and manual testing

… home.

Only -e cloud generates it's individual node files in ./example/cloud/node1, node2 etc...
@github-actions github-actions bot added documentation Improvements or additions to documentation configs labels Nov 12, 2024
@epugh
Copy link
Contributor Author

epugh commented Nov 13, 2024

I think stripping out the <lib/> makes this a breaking change for 10 only....???

@HoustonPutman
Copy link
Contributor

I mean, this is just changing the examples. I think we can back port this. People should not be using the tech products config in production.

solr/CHANGES.txt Outdated
@@ -237,6 +237,9 @@ led to the suppression of exceptions. (Andrey Bozhko)

* SOLR-17545: Upgrade to Gradle 8.10 (Houston Putman)

* SOLR-17556: Examples should run with the standard & recommended Solr home and solr data dir (except for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[0] Minor nit - the "should" here might confuse users. Is this how Solr behaves in 9.8? Is it how it should behave? etc.

Wording like "home" and "data" directories used by Solr examples have been updated to align with documented best practices. might be a little clearer.

@epugh
Copy link
Contributor Author

epugh commented Nov 20, 2024

Feedback in corporated. When this is back ported we need to remember to remove the CREDENTIALS lookups ;-)

@epugh epugh merged commit 620175a into apache:main Nov 22, 2024
4 checks passed
epugh added a commit that referenced this pull request Nov 22, 2024
…home and solr data dir (#2861)

* Have techproducts, films, and schemaless all start in the normal solr home.
Only -e cloud generates it's individual node files in ./example/cloud/node1, node2 etc...

* Update the ref guide to consistently use -Dsolr.modules settings instead of relying on  on the <lib/> declaration.
---------

Co-authored-by: Houston Putman <houston@apache.org>
(cherry picked from commit 620175a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:cli configs documentation Improvements or additions to documentation jetty-server tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants