[ 
https://issues.apache.org/jira/browse/LUCENE-8798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838497#comment-16838497
 ] 

Mike Sokolov commented on LUCENE-8798:
--------------------------------------

[~atris] I glanced at the issue you referenced, but I don't see how it relates 
to this. Could you sketch out a use case where this would be better than using 
the ordinals that we use today to identify segments? Would these be persisted? 

> Autogenerated ID for LeafReaderContexts Within An IndexSearcher
> ---------------------------------------------------------------
>
>                 Key: LUCENE-8798
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8798
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Minor
>
> It would be good to be able to uniquely identify LeafReaderContext objects 
> associated within a single IndexSearcher. This would allow storing of 
> metadata around segments, such as demonstrated inĀ 
> https://issues.apache.org/jira/browse/LUCENE-879
> The ID will be unique across the IndexSearcher instance and will make no 
> guarantees of any semantic value outside the instance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to