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 not waiting for
the results from all the shards. Some shard gives the following parsing
error when result comes incorrect

org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError:
org.apache.query.queryparser.ParseException: Cannot parse 'PNC:ca955235a1':
Encountered "<EOF>" at line 1, column 0.  

But this is the valid query. I have also the same problem outside of the
search component. But when I tried the same approach from the
SolrQueryComponent's createMainQuery() method it is working as desired.

private void createMainQuery(ResponseBuilder rb) {
      // shard query works fine from here
}



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Shard-Query-From-Inside-Search-Component-Sometimes-Gives-Wrong-Results-tp4120840p4121089.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to