Alexandre Rafalovitch created SOLR-9528:

             Summary: Make _docid_ (lucene id) a pseudo field
                 Key: SOLR-9528
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: master (7.0)
            Reporter: Alexandre Rafalovitch
            Priority: Minor

Lucene document id is a transitory id that cannot be relied on as it can change 
on document updates, etc.

However, there are circumstances where it could be useful to use it in a 
search. The primarily use is a debugging where some error messages provide only 
lucene document id as the reference. For example:

child query must only match non-parent docs, but parent docID=38200 matched 

We already expose the lucene id with \[docid] transformer with \_docid_ sorting.

On the email list, [] proposed that _docid_ should be a 
legitimate pseudo-field, which would make it returnable, usable in function 
queries, etc.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to