Package org.apache.lucene.index

Examples of org.apache.lucene.index.FilterLeafReader


            return null;
        }
        if (reader instanceof SegmentReader) {
            return (SegmentReader) reader;
        } else if (reader instanceof FilterLeafReader) {
            final FilterLeafReader fReader = (FilterLeafReader) reader;
            return segmentReader(FilterLeafReader.unwrap(fReader));
        }
        if (fail) {
            // hard fail - we can't get a SegmentReader
            throw new ElasticsearchIllegalStateException("Can not extract segment reader from given index reader [" + reader + "]");
View Full Code Here

TOP

Related Classes of org.apache.lucene.index.FilterLeafReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.