lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatharaman, Srinatha (Contractor)" <Srinatha_Ananthara...@comcast.com>
Subject Switching from Managed Schema to Manually Edited schema.xml --IS NOT WORKING
Date Mon, 06 Feb 2017 05:05:42 GMT
Hi ,

I am indexing a Text document and followed the steps defined in below URL to create the schema.xml
https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig#SchemaFactoryDefinitioninSolrConfig-SwitchingfromManagedSchematoManuallyEditedschema.xml

After making above changes, When I try to index the document using curl command I get below
error :

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">400</int><int name="QTime">147</int></lst><lst
name="error"><lst name="metadata"><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">org.apache.solr.common.SolrException</str><str name="error-class">org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException</str><str
name="root-error-class">org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException</str></lst><str
name="msg">Async exception during distributed update: Bad Request



request: http://165.137.46.219:8983/solr/gsearch_shard1_replica2/update?update.chain=add-unknown-fields-to-the-schema&amp;update.distrib=TOLEADER&amp;distrib.from=http%3A%2F%2F165.137.46.218%3A8983%2Fsolr%2Fgsearch_shard2_replica1%2F&amp;wt=javabin&amp;version=2</str><int
name="code">400</int></lst>
</response>

Could someone help me to resolve this issue,
How do I create a schema.xml file for a text document(document content varies for each files).
I want to index entire document as whole and search on the document content

Thanks & Regards,
~Sri



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message