List of usage examples for org.apache.lucene.search.spans SpanQuery subclass-usage
From source file brightsolid.solr.plugins.SpanTargetPositionQuery.java
/** ** Class for scoring SpanQuery based on the target position of a match. **/ public class SpanTargetPositionQuery extends SpanQuery implements Cloneable { protected SpanQuery match; protected int target;
From source file com.mhs.qsol.spans.SpanWildcardQuery.java
public class SpanWildcardQuery extends SpanQuery { private Term term; public SpanWildcardQuery(Term term) { this.term = term; }
From source file com.mhs.qsol.spans.SpanWithinQuery.java
/**
* This is a modified Lucene SpanNotQuery search that will allow a specified
* number of intersections between spans.
*
*
* If only one document is in the index then this query will see the document as
From source file com.o19s.solr.swan.query.SpanWithinQuery.java
/** * Allows a given number of intersections between spans. */ public class SpanWithinQuery extends SpanQuery { private SpanQuery include;
From source file com.shaie.spans.SpanWithinQuery.java
/** * A {@link SpanQuery} which matches documents which has a 'match' clause within a 'range' clause. */ public class SpanWithinQuery extends SpanQuery { private SpanQuery range, match;
From source file nl.inl.blacklab.MockSpanQuery.java
/** * Stub SpanQuery class for testing. Takes arrays and iterates through 'hits' * from these arrays. */ public class MockSpanQuery extends SpanQuery { private int[] doc;
From source file nl.inl.blacklab.search.lucene.BLSpanMultiTermQueryWrapper.java
/**
* Wraps any {@link MultiTermQuery} as a {@link SpanQuery},
* so it can be nested within other SpanQuery classes.
* <p>
* The query is rewritten by default to a {@link BLSpanOrQuery} containing
* the expanded terms, but this can be customized.
From source file nl.inl.blacklab.search.lucene.BLSpanOrQuery.java
/** Matches the union of its clauses. * * BL-specific version (search for "// BL") that produces a BLSpans. */ @SuppressWarnings({ "unused", "javadoc" }) // BL: suppress some innocent warnings public class BLSpanOrQuery extends SpanQuery implements Cloneable {
From source file nl.inl.blacklab.search.lucene.BLSpanQuery.java
/** * A required interface for a BlackLab SpanQuery. All our queries must be * derived from this so we know they will produce BLSpans (which * contains extra methods for optimization). */ public abstract class BLSpanQuery extends SpanQuery {
From source file nl.inl.blacklab.search.lucene.SpanFuzzyQuery.java
/** * A fuzzy (approximate) query with spans. * * @author Karl Wettin <kalle@snigel.net> */ public class SpanFuzzyQuery extends SpanQuery {