Hello everyone !

I'm using SolR 5.3.1 with solrj.SolrClient.
My index is sliced in 3 shards, each on different server. (No replica on
dev platform)
It has been up to date for a few days...

[image: Images intégrées 2]

I'm trying to use the RealTimeGetHandler to get documents by their Id.
In our usecase, documents are updated very frequently,  so  we have to look
in the tlog before searching the index.

When I use the SolrClient.getById() (with a list of document Ids recently
extracted from the index)

SolR doesn't return *all* the documents corresponding to these Ids.
So I tried to use the Solr api directly:

http://server:port/solr/index/get/ids=id1,id2,id3
And this is the same. Some ids don't works.

In my example, id1 doesn't return a document, id2 and id3 or OK.

If I try a filtered query with the id1, it works fine, the document exists
in the index and is found by SolR

Can anybody explain why a document, present in the index, with no
uncommited update or delete, is not found by the Real Time Get Handler ?

Regards,
Jeremie

Reply via email to