RE: Best and efficient way to find out whether set of records available in Solr

2017-01-31 Thread alessandro.benedetti
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

RE: Best and efficient way to find out whether set of records available in Solr

2017-01-30 Thread M, Arjun (Nokia - IN/Bangalore)
Hi Erick, Let me put it in other way. Id : 1,2,3 are present in solr db. I query with query param id with values 3,4,5,6, it should return 4,5,6(records not present in solr) Thanks & Regards, Arjun M -Original Message- From: Erick Erickson

Re: Best and efficient way to find out whether set of records available in Solr

2017-01-30 Thread Erick Erickson
bq: if below are the records available in solr, I need to whether id with values 3,4,5,6 are available in solr or not This just doesn't make sense to me. _How_ do you decide you want to know certain docs aren't available? What relation is there between the presence of docs 1, 2 and 3 and the