If a document is not in Solr, Solr will not return it.

Of course you can play with the API and have your client that will do the
checks and return what you like.
What you will need to do is to fetch the IDs OK from Solr and then you
subtract them from your original list.

Another solution is to add an "available" field, and for the documents not
available you index them as "not available" ( and in case the situation
change you can update them) .
In this case you can simply query and then filter by "available :false" .

Cheers



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Best-and-efficient-way-to-find-out-whether-set-of-records-available-in-Solr-tp4317930p4317996.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to