What was the query you are making? What is the sort order for the query? Are you sure you are not indexing data in between making these requests? Are you able to reproduce this outside of your search component?
It is hard to answer questions about custom code without actually looking at the code. On Mon, Mar 3, 2014 at 3:37 PM, Vishnu Mishra <vdil...@gmail.com> wrote: > 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 > are, > > 1. Can we do distributed search from Solr Search component. > 2. Do we need to handle concurrency between Solr server by using > synchronization or other technique. > > Is there a way to make a distributed search in the Solr Search Component and > get the matched documents from all the shards? If anyone have Idea then help > me. > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Shard-Query-From-Inside-Search-Component-Sometimes-Gives-Wrong-Results-tp4120840.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Regards, Shalin Shekhar Mangar.