You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Amit Kumar <ku...@gmail.com> on 2016/05/15 05:40:51 UTC

SegmentInfo from (SolrIndexSearcher) LeafReader

Hey Guys,

I am writing a SearchComponent for SOLR 5.4.0 that does some caching at the
level of segments and I want to be able to get SegmentInfo from a
LeafReader -I am unable to figure that out; A LeafReader is not an instance
of SegmentReader that exposes the segment information, is it still possible
to get the SegmentInfo that I might be missing, If I am in
the SearchComponent.prepare/process.

Many thanks,
Amit