Re: getting Lucene Docid from inside score()

2018-03-10 Thread Erick Erickson
I was thinking this was a Solr question rather than a Lucene one so the [docid] bit doesn't apply if you're in the lucene code. If you _are_ really going from solr, just put [docid] in your Solr "fl" list. Look in the Solr ref guide for an explanation: https://lucene.apache.org/solr/guide/6_6/trans

Re: getting Lucene Docid from inside score()

2018-03-10 Thread dwaipayan . roy
Hi Erick, Many thanks for your reply and explanation. I really want this to work. The good news for me is, the index is static, there is no chance of any modification of the index. > Luke and the like are using a point-in-time snapshot of the index. I want to get that lucene-assigned docid, th