Package io.crate.operation.reference.doc.lucene

Examples of io.crate.operation.reference.doc.lucene.ByteColumnReference.startCollect()


    }

    @Test
    public void testFieldCacheExpression() throws Exception {
        ByteColumnReference byteColumn = new ByteColumnReference(fieldName().name());
        byteColumn.startCollect(ctx);
        byteColumn.setNextReader(readerContext);
        IndexSearcher searcher = new IndexSearcher(readerContext.reader());
        TopDocs topDocs = searcher.search(new MatchAllDocsQuery(), 20);
        byte b = -10;
        for (ScoreDoc doc : topDocs.scoreDocs) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.