[
https://issues.apache.org/jira/browse/SOLR-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe updated SOLR-4623:
-----------------------------
Attachment: SOLR-4623-fix-classname-shortening-part-deux.patch
Oops, last patch didn't cover shortening of names of FieldType subclasses,
which live under package org.apache.solr.schema, another member of the package
prefix set that SolrResourceLoader.findClass() checks for. Fortunately a
couple schema REST API tests caught this problem.
This patch converts the qualification tests in getShortName() to a regex
accepting prefixes "org.apache.lucene.analysis.(whatever)",
"org.apache.solr.analysis.", and "org.apache.solr.schema."
Committing shortly. For reals this time.
> Add REST API methods to get all remaining schema information, and also to
> return the full live schema in json, xml, and schema.xml formats
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-4623
> URL: https://issues.apache.org/jira/browse/SOLR-4623
> Project: Solr
> Issue Type: Sub-task
> Components: Schema and Analysis
> Affects Versions: 4.2
> Reporter: Steve Rowe
> Assignee: Steve Rowe
> Priority: Minor
> Fix For: 4.3
>
> Attachments: JSONResponseWriter.output.json,
> SchemaXmlResponseWriter.output.xml,
> SOLR-4623-fix-classname-shortening-part-deux.patch,
> SOLR-4623-fix-classname-shortening-part-deux.patch, SOLR-4623.patch,
> XMLResponseWriter.output.xml
>
>
> Each remaining schema component (after field types, fields, dynamic fields,
> copy fields were added by SOLR-4503) should be available from the schema REST
> API: name, version, default query operator, similarity, default search field,
> and unique key.
> It should be possible to get the entire live schema back with a single
> request, and schema.xml format should be one of the supported response
> formats.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]