Re: solrcloud goes down

2016-07-03 Thread Shalin Shekhar Mangar
You are asking many different questions. Lets take them up one by one: You say that you use the singleton pattern to create and get the Solr server connection. Yes, that is fine. The CloudSolrServer is thread safe and can be shared across requests/threads. When your application exits, you should s

Error when highlighting on multiValued fields

2016-07-03 Thread Zheng Lin Edwin Yeo
Hi, I'm getting this error when I tried to do highlighting search on a multiValued field. "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.lucene.search.highlight.InvalidTokenOffsetsException"], "msg":"org.apache.lu

Re: Json Parse Exception in CloudSolrStream class

2016-07-03 Thread Erick Erickson
What version of Solr? Are you perhaps running into: https://issues.apache.org/jira/browse/SOLR-7647? On Sun, Jul 3, 2016 at 5:54 PM, Susmit Shukla wrote: > Hi, > > I'm using a string field in sort parameters of a solr query. The query is > used with /export handler to stream data using CloudSolrS

Re: 500 error querying solrcloud with >1 shard

2016-07-03 Thread Nuhaa All Bakry
We’re using Solr 6. I think it’s because of the Suggester component - it being not supported for distributed search. I had to specify shards=shard1 for the query to work. But even then if the other shard has nothing (I have only 1 document indexed on shard2), it still returns error below. I won

Json Parse Exception in CloudSolrStream class

2016-07-03 Thread Susmit Shukla
Hi, I'm using a string field in sort parameters of a solr query. The query is used with /export handler to stream data using CloudSolrStream. When the data in field contains a double quote, the cloudSolrStream fails to read data and throws this error - field data = "first (alias) last" org.nogg