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] upgrade to solr 9 #480

Open
pjfanning opened this issue Feb 12, 2024 · 0 comments
Open

[solr] upgrade to solr 9 #480

pjfanning opened this issue Feb 12, 2024 · 0 comments

Comments

@pjfanning
Copy link
Contributor

We have a compile issue with the Solr 9 libs. The getIdField method has been removed.

The Solr team suggested assuming the ID field is "id" because that is the norm anyway.

https://lists.apache.org/thread/fr3o9nntr0f4vj319rnm0zhxhqyyfyy2

We could maintain Solr 8 lib support by using reflection to see if the getIdField method is available and call it if found. If the method is not there, then just act as if the method was called and returned "id".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant