Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
6.4
-
None
-
None
Description
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at http://localhost:8983/solr/Metadata2:
org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[/solr/Metadata2_shard1_replica1,
solr/Metadata2_shard2_replica2,
solr/Metadata2_shard1_replica2]
When i look at the solr logs i find the below exception
Caused by: java.io.IOException: Invalid JSON type java.lang.String, expected Map
at org.apache.solr.schema.JsonPreAnalyzedParser.parse(JsonPreAnalyzedParser.java:86)
at org.apache.solr.schema.PreAnalyzedField$PreAnalyzedTokenizer.decodeInput(PreAnalyzedField.java:345)
at org.apache.solr.schema.PreAnalyzedField$PreAnalyzedTokenizer.access$000(PreAnalyzedField.java:280)
at org.apache.solr.schema.PreAnalyzedField$PreAnalyzedAnalyzer$1.setReader(PreAnalyzedField.java:375)
at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:202)
at org.apache.lucene.search.uhighlight.AnalysisOffsetStrategy.tokenStream(AnalysisOffsetStrategy.java:58)
at org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnums(MemoryIndexOffsetStrategy.java:106)
... 37 more
I am setting up lot of fields (fq, score, highlight,etc) then put it into solrquery.
"we are using preanalyzed field and that causing the problem.
The actual problem is preanalyzed with highlight option. if i disable highlight option it works fine."