On 4/16/2020 10:07 AM, Mark H. Wood wrote:
I need to ask Solr 4.10 for the name of the unique key field of a
schema.  So far, no matter what I've done, Solr is returning a 404.

This works:

   curl 'https://toolshed.wood.net:8443/isw6_3/solr/statistics/select'

This gets a 404:

   curl 'https://toolshed.wood.net:8443/isw6_3/solr/statistics/schema/uniquekey'

So does this:

   curl 'https://toolshed.wood.net:8443/isw6_3/solr/statistics/schema'

We normally use the ClassicIndexSchemaFactory.  I tried switching to
ManagedIndexSchemaFactory but it made no difference.  Nothing is
logged for the failed requests.

From what I can see, the schema API handler was introduced in version 5.0. The SchemaHandler class exists in the released javadoc for the 5.0 version, but not the 4.10 version. You'll need a newer version of Solr.

Thanks,
Shawn

Reply via email to