Package org.apache.lucene.index

Examples of org.apache.lucene.index.FieldInfos


        XContentBuilder builder = jsonBuilder();
        builder.startObject()
                .field("shardId", shardId)
                .field("numDeletions", reader.numDeletedDocs());
        builder.startArray("docs");
        FieldInfos fieldInfos = reader.getFieldInfos();
        Bits live = MultiFields.getLiveDocs(reader);
        for (int docNum = 0; docNum < reader.maxDoc(); docNum++) {
            Document doc = reader.document(docNum);
            if (live != null && live.get(docNum)) {
                continue; // not deleted
View Full Code Here

TOP

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

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.