List of usage examples for org.apache.lucene.search.spans SpanTermQuery subclass-usage
From source file com.shaie.annots.MultiPositionSpanTermQuery.java
/** * A {@link SpanTermQuery} which returns a {@link Spans} whose {@link Spans#endPosition()} is read from a payload. This * allows to index one term which spans multiple positions. */ public class MultiPositionSpanTermQuery extends SpanTermQuery {
From source file com.shaie.annots.SpanAnnotationTermQuery.java
/** * A {@link SpanTermQuery} which returns a {@link Spans} whose {@link Spans#start()} and {@link Spans#end()} are read * from a payload, while the term's actual position is ignored. */ public class SpanAnnotationTermQuery extends SpanTermQuery {
From source file com.shaie.spans.SpanInclusivePositionTermQuery.java
/** * A {@link SpanTermQuery} which returns an inclusive {@link Spans}, that is {@link Spans#end()} returns the term's * position inclusive, rather than like {@link TermSpans} which return 1 greater than the position. */ public class SpanInclusivePositionTermQuery extends SpanTermQuery {
From source file nl.inl.blacklab.search.lucene.BLSpanTermQuery.java
/**
* BL-specific subclass of SpanTermQuery that changes what getField() returns
* (the complex field name instead of the full Lucene field name) in order to be
* able to combine queries in different Lucene fields using AND and OR.
*
* TODO: investigate FieldMaskingSpanQuery, which seems to have the same
From source file org.allenai.blacklab.search.lucene.BLSpanTermQuery.java
/**
* BL-specific subclass of SpanTermQuery that changes what getField() returns
* (the complex field name instead of the full Lucene field name) in order to be
* able to combine queries in different Lucene fields using AND and OR.
*
* TODO: investigate FieldMaskingSpanQuery, which seems to have the same
From source file org.compass.core.lucene.engine.all.AllBoostingTermQuery.java
/**
* A term query that takes into account the All boosting support for specific terms when searching on the
* all field.
*
* @author kimchy
* @see BoostingTermQuery
From source file org.elasticsearch.common.lucene.all.AllTermQuery.java
/** * A term query that takes all payload boost values into account. * * */ public class AllTermQuery extends SpanTermQuery {
From source file org.elasticsearch.util.lucene.all.AllTermQuery.java
/** * A term query that takes all payload boost values into account. * * @author kimchy (shay.banon) */ public class AllTermQuery extends SpanTermQuery {