allow-create=false calls /solr/admin/collections when registering a mixed index (Kerberos 403) #4891
carlostechinnovation
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment:
Configuration:
Problem:
When calling
buildMixedIndex("search")in a Groovy script viagremlin.sh, JanusGraph always calls/solr/admin/collectionsregardless ofallow-create=false.My collection already exists in Solr.
My user in Kerberos does not have admin permissions on that endpoint.
The result is HTTP 403:
Stacktrace shows:
Question:
Is there a way to skip the /solr/admin/collections check entirely when the collection already exists and allow-create=false is set?
We expected that allow-create=false would prevent any call to the Solr admin API, but it seems createCollectionIfNotExists is still invoked unconditionally from register.
Is this intended behavior? Is there a workaround or configuration option we are missing?
Beta Was this translation helpful? Give feedback.
All reactions