I am seeing the following exception in my SOLR log: (Solr 8.4.1)

org.apache.solr.common.SolrException: Invalid UUID String: 'static'
at org.apache.solr.schema.UUIDField.toInternal(UUIDField.java:88)
at org.apache.solr.schema.FieldType.readableToIndexed(FieldType.java:409)
at org.apache.solr.schema.FieldType.readableToIndexed(FieldType.java:417)
at org.apache.solr.schema.FieldType.getFieldQuery(FieldType.java:898)
at
org.apache.solr.parser.SolrQueryParserBase.rawToNormal(SolrQueryParserBase.java:1019)
at
org.apache.solr.parser.SolrQueryParserBase.getBooleanQuery(SolrQueryParserBase.java:722)
at org.apache.solr.parser.QueryParser.Query(QueryParser.java:238)
at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:131)
at
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:260)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:49)
at org.apache.solr.search.QParser.getQuery(QParser.java:174)
at
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:160)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:302)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:211)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2596)
at
org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:74)
at org.apache.solr.core.SolrCore.lambda$getSearcher$18(SolrCore.java:2362)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)

The thread is searcherExecutor-45-thread-1-processing-x:core_name.
We have 7 cores on each host. We do not (at the same time) get errors on
each host, and usually only for 1 core at a time (but it’s not on the same
core).We have multiple hosts each hosting a StandAlone Solr Instance. Each
host indexes the same documents into their own local core, and the queries
for Solr are spread out over these hosts using a load balancer.In our
schemas, we have a $id field (marked unique) and it is of type
solr.StrField except in 2 schemas (we have 7 different cores), it is of
type solr.UUIDField.Questions:

Is this error occurring during a query or indexing a document? We have
different logs for query and for indexing, and I do not see any correlation.
What is causing this? Is it simply that we are passing in the String
‘static’ as the id?

Reply via email to