Package org.elasticsearch.common.lucene.docset

Examples of org.elasticsearch.common.lucene.docset.OrDocIdSet


            return (DocIdSet) sets.get(0);
        }
        if (allAreDocSet) {
            return new OrDocSet(sets);
        }
        return new OrDocIdSet(sets);
    }
View Full Code Here


        }
        DocIdSet set;
        if (sets.size() == 1) {
            set = sets.get(0);
        } else {
            set = new OrDocIdSet(sets.toArray(new DocIdSet[sets.size()]));
        }
        return BitsFilteredDocIdSet.wrap(set, acceptDocs);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.lucene.docset.OrDocIdSet

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.