Package com.flaptor.indextank.query

Examples of com.flaptor.indextank.query.QueryNode


    // each term gets converted to its item list by matching it to the given field
    return new PhraseMerger(Iterables.transform(terms, getFieldMatcher(field)), termPositions, boost);
  }

  private SkippableIterable<RawMatch> matchOr(OrQuery query) {
        QueryNode leftQuery = query.getLeftQuery();
        QueryNode rightQuery = query.getRightQuery();
    SkippableIterable<RawMatch> left = match(leftQuery);
    SkippableIterable<RawMatch> right = match(rightQuery);
    return new OrMerger2(left, right, query.getBoost(), leftQuery.getBoost(), rightQuery.getBoost(), leftQuery.getNorm(), rightQuery.getNorm());
  }
View Full Code Here

TOP

Related Classes of com.flaptor.indextank.query.QueryNode

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.