Package io.crate.lucene

Examples of io.crate.lucene.LuceneQueryBuilder


                scriptService,
                cacheRecycler,
                pageCacheRecycler,
                bigArrays
        );
        LuceneQueryBuilder builder = new LuceneQueryBuilder(functions, searchContext, indexService.cache());
        LuceneQueryBuilder.Context ctx = builder.convert(whereClause);
        searchContext.parsedQuery(new ParsedQuery(ctx.query(), ImmutableMap.<String, Filter>of()));
        Float minScore = ctx.minScore();
        if (minScore != null) {
            searchContext.minimumScore(minScore);
        }
View Full Code Here


                bigArrays
        );
        SearchContext.setCurrent(context);

        try {
            LuceneQueryBuilder builder = new LuceneQueryBuilder(functions, context, indexService.cache());
            LuceneQueryBuilder.Context ctx = builder.convert(request.whereClause());
            context.parsedQuery(new ParsedQuery(ctx.query(), ImmutableMap.<String, Filter>of()));
            Float minScore = ctx.minScore();
            if (minScore != null) {
                context.minimumScore(minScore);
            }
View Full Code Here

TOP

Related Classes of io.crate.lucene.LuceneQueryBuilder

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.