Uses of Class
org.apache.lucene.queries.spans.SpanQuery
-
Packages that use SpanQuery Package Description org.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.queries.spans The calculus of spans. -
-
Uses of SpanQuery in org.apache.lucene.queries.payloads
Subclasses of SpanQuery in org.apache.lucene.queries.payloads Modifier and Type Class Description classPayloadScoreQueryA Query class that uses aPayloadFunctionto modify the score of a wrappedSpanQuery.classSpanPayloadCheckQueryOnly return those matches that have a specific payload at the given position.Fields in org.apache.lucene.queries.payloads declared as SpanQuery Modifier and Type Field Description protected SpanQuerySpanPayloadCheckQuery. matchConstructors in org.apache.lucene.queries.payloads with parameters of type SpanQuery Constructor Description PayloadScoreQuery(SpanQuery wrappedQuery, PayloadFunction function, PayloadDecoder decoder)Creates a new PayloadScoreQuery that includes the underlying span scoresPayloadScoreQuery(SpanQuery wrappedQuery, PayloadFunction function, PayloadDecoder decoder, boolean includeSpanScore)Creates a new PayloadScoreQuerySpanPayloadCheckQuery(SpanQuery match, List<BytesRef> payloadToMatch)SpanPayloadCheckQuery(SpanQuery match, List<BytesRef> payloadToMatch, SpanPayloadCheckQuery.PayloadType payloadType, SpanPayloadCheckQuery.MatchOperation operation) -
Uses of SpanQuery in org.apache.lucene.queries.spans
Subclasses of SpanQuery in org.apache.lucene.queries.spans Modifier and Type Class Description classFieldMaskingSpanQueryWrapper to allowSpanQueryobjects participate in composite single-field SpanQueries by 'lying' about their search field.classSpanContainingQueryKeep matches that contain another SpanScorer.classSpanFirstQueryMatches spans near the beginning of a field.classSpanMultiTermQueryWrapper<Q extends MultiTermQuery>Wraps anyMultiTermQueryas aSpanQuery, so it can be nested within other SpanQuery classes.classSpanNearQueryMatches spans which are near one another.classSpanNotQueryRemoves matches which overlap with another SpanQuery or which are within x tokens before or y tokens after another SpanQuery.classSpanOrQueryMatches the union of its clauses.classSpanPositionCheckQueryBase class for filtering a SpanQuery based on the position of a match.classSpanPositionRangeQueryChecks to see if theSpanPositionCheckQuery.getMatch()lies between a start and end positionclassSpanTermQueryMatches spans containing a term.classSpanWithinQueryKeep matches that are contained within another Spans.Fields in org.apache.lucene.queries.spans declared as SpanQuery Modifier and Type Field Description protected SpanQuerySpanPositionCheckQuery. matchFields in org.apache.lucene.queries.spans with type parameters of type SpanQuery Modifier and Type Field Description protected List<SpanQuery>SpanNearQuery. clausesMethods in org.apache.lucene.queries.spans that return SpanQuery Modifier and Type Method Description SpanQuery[]SpanNearQuery. getClauses()Return the clauses whose spans are matched.SpanQuery[]SpanOrQuery. getClauses()Return the clauses whose spans are matched.SpanQuerySpanNotQuery. getExclude()Return the SpanQuery whose matches must not overlap those returned.SpanQuerySpanNotQuery. getInclude()Return the SpanQuery whose matches are filtered.SpanQueryFieldMaskingSpanQuery. getMaskedQuery()SpanQuerySpanPositionCheckQuery. getMatch()abstract SpanQuerySpanMultiTermQueryWrapper.SpanRewriteMethod. rewrite(IndexReader reader, MultiTermQuery query)SpanQuerySpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite. rewrite(IndexReader reader, MultiTermQuery query)Methods in org.apache.lucene.queries.spans with parameters of type SpanQuery Modifier and Type Method Description SpanNearQuery.BuilderSpanNearQuery.Builder. addClause(SpanQuery clause)Add a new clauseConstructors in org.apache.lucene.queries.spans with parameters of type SpanQuery Constructor Description FieldMaskingSpanQuery(SpanQuery maskedQuery, String maskedField)SpanContainingQuery(SpanQuery big, SpanQuery little)Construct a SpanContainingQuery matching spans frombigthat contain at least one spans fromlittle.SpanFirstQuery(SpanQuery match, int end)Construct a SpanFirstQuery matching spans inmatchwhose end position is less than or equal toend.SpanNearQuery(SpanQuery[] clausesIn, int slop, boolean inOrder)Construct a SpanNearQuery.SpanNotQuery(SpanQuery include, SpanQuery exclude)Construct a SpanNotQuery matching spans fromincludewhich have no overlap with spans fromexclude.SpanNotQuery(SpanQuery include, SpanQuery exclude, int dist)Construct a SpanNotQuery matching spans fromincludewhich have no overlap with spans fromexcludewithindisttokens ofinclude.SpanNotQuery(SpanQuery include, SpanQuery exclude, int pre, int post)Construct a SpanNotQuery matching spans fromincludewhich have no overlap with spans fromexcludewithinpretokens before orposttokens ofinclude.SpanOrQuery(SpanQuery... clauses)Construct a SpanOrQuery merging the provided clauses.SpanPositionCheckQuery(SpanQuery match)SpanPositionRangeQuery(SpanQuery match, int start, int end)SpanWeight(SpanQuery query, IndexSearcher searcher, Map<Term,TermStates> termStates, float boost)Create a new SpanWeightSpanWithinQuery(SpanQuery big, SpanQuery little)Construct a SpanWithinQuery matching spans fromlittlethat are inside ofbig.
-