I have a custom scorer plugin that needs access to the document's _id field
(not the Lucene docId). At the moment, the following always returns null:
I have tried playing with the mapping and setting "store" to true/false,
different "index" values, etc., but to no avail. At the moment, the only
thing that works, but is horribly ugly is to parse the _uid field and split
on the "#" since the field is of the form "<_type>#<_id>".
Any ideas? Is this a bug perhaps in DocLookup?