Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
In SOLR-9528 a suggestion was made to change docid to docnum. The reasoning for this is most notably that docid has a connotation about a persistent unique identifier (eg like _id in elasticsearch or id in solr), while docid in lucene is currently some local to a segment, and not comparable directly across segments.
When I first started working on Lucene, I had this same confusion. docnum is a much better name for this transient, segment local identifier for a doc. Regardless of what solr wants to do in their api (eg keeping docid), I think we should switch the lucene apis and variable names to use docnum.