Example usage for org.apache.lucene.search Query subclass-usage

List of usage examples for org.apache.lucene.search Query subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.search Query subclass-usage.

Usage

From source file alix.lucene.MoreLikeThisQuery.java

/**
 * A simple wrapper for MoreLikeThis for use in scenarios where a Query object
 * is required eg in custom QueryParser extensions. At query.rewrite() time the
 * reader is used to construct the actual MoreLikeThis object and obtain the
 * real Query object.
 */

From source file au.edu.unimelb.csse.search.TreebankQuery.java

public class TreebankQuery extends Query {
    private static final long serialVersionUID = -1267167816581277525L;
    private final TreeExpr exp;

    public TreebankQuery(TreeExpr exp) {
        this(exp, TermJoinType.EARLY_STOP_WITH_FC);

From source file com.browseengine.bobo.geosearch.query.GeoQuery.java

/**
 * Lucene query implementation that queries a geo index based on a centroid coordinate and a range.
 *
 * NOTE:  Early versions of this class took longitude before latitude in the constructor.  In order to be consistent throughout the library
 * this has been modified.  If you are upgrading from a prior version please take note of this change.
 * 

From source file com.browseengine.bobo.query.ScoreAdjusterQuery.java

public class ScoreAdjusterQuery extends Query {
    private static final long serialVersionUID = 1L;

    private class ScoreAdjusterWeight extends Weight {
        private static final long serialVersionUID = 1L;

From source file com.browseengine.bobo.search.section.MetaDataQuery.java

public abstract class MetaDataQuery extends Query {
    private static final long serialVersionUID = 1L;

    protected Term _term;

    public MetaDataQuery(Term term) {

From source file com.browseengine.bobo.search.section.SectionSearchQuery.java

/**
 *
 */
public class SectionSearchQuery extends Query {
    private static final long serialVersionUID = 1L;

From source file com.elasticsearch.custom.query.keyword.KeywordTermQuery.java

/** A Query that matches documents containing a term.
  This may be combined with other terms with a {@link BooleanQuery}.
  */
public class KeywordTermQuery extends Query {
    private final KeywordQueryDetail termDetail;
    private final Term term;

From source file com.elasticsearch.custom.query.topic.TopicTermQuery.java

/** A Query that matches documents containing a term.
  This may be combined with other terms with a {@link BooleanQuery}.
  */
public class TopicTermQuery extends Query {
    private final TopicQueryDetail topicDetail;
    private final Term term;

From source file com.greplin.lucene.query.MatchNoDocsQuery.java

/**
 * Query that matches no documents.
 */
public final class MatchNoDocsQuery extends Query {

    /**

From source file com.greplin.lucene.query.NamedQuery.java

/**
 * A Query that just wraps a sub query and adds a name to it in toString()
 */
public class NamedQuery extends Query {

    /**