Skip to content

Conversation

@dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Feb 6, 2026

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

I did in a series of clean steps, separate commits.

BTW my approach was to take a custom subclass I have at work and put it in the source tree somewhere, and then iteratively made the refactorings (manually + IntelliJ refactorings) until the subclass compiled. I also made some tweaks to it. IntelliJ did the "record" conversion as well.

It's a shame this source file is so massive. Ideally we'd break it up at some point.
Also, the extensibility here is limited to String fields.

@dsmiley dsmiley requested a review from mlbiscoc February 6, 2026 21:20
@github-actions github-actions bot added documentation Improvements or additions to documentation tests cat:search labels Feb 6, 2026
SORT,
SCORE;
SCORE,
CUSTOM;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a point here that CUSTOM is specifically for subclasses? It's currently not used anywhere including tests and someone may remove it by mistake thinking no use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:search documentation Improvements or additions to documentation no-changelog tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants