I just wonder what I am supposed to use for a lookup by ID.
This thread Solr Query on Unique Integer Field seems to use a query.
But it is not what is said here: Search document by id very slow
And here: http://lucene.472066.n3.nabble.com/Solr-Unique-Key-Field-Should-Apply-on-q-search-or-fq-search-td4003066.html But I'm not reusing the same query because the lookups can be on any ID
ElasticSearch provides natively a lookup by id, someone knows what is happening under the hood of ElasticSearch lookup so that I can eventually use the same strategy with Solr?
Thanks