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

TASK-6981 - Should not use same Solr timeout for reading and for indexing #2512

Open
wants to merge 6 commits into
base: release-3.x.x
Choose a base branch
from

Conversation

jtarraga
Copy link
Member

@halender
Copy link
Contributor

@@ -157,14 +160,12 @@ public SearchConfiguration setTimeout(int timeout) {
return this;
}

@Deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Do not remove these methods.
Leave the methods deprecated, and just call to the static method
Configuration.reportUnusedField()

e.g.

@Deprecated
public Admin getAdmin() {
return null;
}
@Deprecated
public Configuration setAdmin(Admin admin) {
reportUnusedField("configuration.yml#admin", admin);
return this;
}

Copy link
Member

Choose a reason for hiding this comment

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

This will avoid failures in "old" configuration files that might be using the "rows" or "host" field.

Copy link
Member

Choose a reason for hiding this comment

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

The ticket should have, in the "Communications" a message saying that this fields are removed.

@j-coll j-coll changed the title [TASK-6981] Should not use same Solr timeout for reading and for indexing TASK-6981- Should not use same Solr timeout for reading and for indexing Sep 30, 2024
@jtarraga jtarraga requested a review from j-coll October 2, 2024 07:41
@j-coll j-coll changed the title TASK-6981- Should not use same Solr timeout for reading and for indexing TASK-6981 - Should not use same Solr timeout for reading and for indexing Oct 2, 2024
j-coll
j-coll previously approved these changes Oct 4, 2024
j-coll
j-coll previously approved these changes Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants