Re: FieldCache error for multivalued fields in json facets.

2015-09-21 Thread Vishnu Mishra
Hi I am using solr 5.3 and I have the same problem while doing json facet on multivalued field. Below is the error stack trace : 2015-09-21 21:26:09,292 ERROR org.apache.solr.core.SolrCore ? org.apache.solr.common.SolrException: can not use FieldCache on multivalued field: FLAG at org.

Facet count mismatch between solr simple facet and Json facet API.

2015-11-27 Thread Vishnu Mishra
Hi I am using solr 5.3.1 in my application. I have indexed field named given below : And then using solr json facet API for faceting. But it seems that json facet API produce less and incorrect result counts than simple solr facet. The json facet request which I am doing is as below: json.fac

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-29 Thread Vishnu Mishra
Yes we are using distributed search using shard approach. -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-count-mismatch-between-solr-simple-facet-and-Json-facet-API-tp4242461p4242646.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Unexpected Query Parser Exception

2015-03-20 Thread Vishnu Mishra
Hi, I am using solr 4.10.3 and doing distributed shard query. I am getting following syntax exception at regular intervals. ERROR org.apache.solr.core.SolrCore ? org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse '*:*': Encountered "" at line 1, column 3. Was

RE: Solr Unexpected Query Parser Exception

2015-06-24 Thread Vishnu Mishra
I think there is no issue with query escaping. I am doing shard query to my main solr server, and from inside the main solr server I am doing simple *:* query to another solr server by using solrj. But most of the time I get following error. Cannot parse '*:*': Encountered "" at line 1, column 1.

How Can I modify the DocList and DocSet in solr

2014-06-09 Thread Vishnu Mishra
I am using solr 4.6 and I am using solr Sharding (Distributed Search). I have situation where I like to modify the solr search result (DocList and DocSet) inside solr QueryComponent right after the following method is called from process() method. searcher.search(result, cmd);

Re: How Can I modify the DocList and DocSet in solr

2014-06-10 Thread Vishnu Mishra
Thanks for the reply. I found one solution to modify DocList and DocSet after searching. Look At the following code snippet. private void sortByRecordIDNew(SolrIndexSearcher.QueryResult result, ResponseBuilder rb) throws IOException { DocList docList = result.getDocListAndSet().docList; SortedM

Solr Shard Query From Inside Search Component Sometimes Gives Wrong Results

2014-03-03 Thread Vishnu Mishra
Hi, I am using Solr 4.6 and doing Solr query on shard from inside Solr search component and try to use the obtained results for my custom logic. I have used a Solrj for doing distributed search, but the result coming from this distributed search vary some time. So the my questions a

Re: Solr Shard Query From Inside Search Component Sometimes Gives Wrong Results

2014-03-04 Thread Vishnu Mishra
Hi Shalin, I am making simple facet query on shards and the sort order is based on the score. Actually sometimes I am getting the correct result from the shards. I am not indexing the data at the time of query. I think as I am making the shard query inside Solr search component, it is no

Increase maxBooleanClauses limit at run time

2014-09-18 Thread Vishnu Mishra
Hi I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. But my application need to change this limit at run time depending upon the query. So can I set this limit at run time for e.g. in SolrParam or in other ways. -- View this message in context: http://lucene.472066.

How To Interrupt Solr Query Execution

2014-12-19 Thread Vishnu Mishra
Hi, I am using solr 4.9 for searching over 90 million+ documents. My Solr is running on tomcat server and I am querying Solr from an application. I have a problem with long-running queries against Solr. Although I have set timeAllowed to 4ms, but it seems that solr still running this query u