| Package | Description | 
|---|---|
| org.apache.lucene.search.payloads | The payloads package provides Query mechanisms for finding and using payloads. | 
| org.apache.lucene.search.spans | The calculus of spans. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PayloadNearQueryThis class is very similar to
  SpanNearQueryexcept that it factors
 in the value of the payloads located at each of the positions where theTermSpansoccurs. | 
| class  | PayloadTermQueryThis class is very similar to
  SpanTermQueryexcept that it factors
 in the value of the payload located at each of the positions where theTermoccurs. | 
| Constructor and Description | 
|---|
| PayloadNearQuery.PayloadNearSpanWeight(SpanQuery query,
                                      IndexSearcher searcher) | 
| PayloadNearQuery(SpanQuery[] clauses,
                int slop,
                boolean inOrder) | 
| PayloadNearQuery(SpanQuery[] clauses,
                int slop,
                boolean inOrder,
                PayloadFunction function) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FieldMaskingSpanQueryWrapper to allow  SpanQueryobjects participate in composite 
 single-field SpanQueries by 'lying' about their search field. | 
| class  | SpanFirstQueryMatches spans near the beginning of a field. | 
| class  | SpanMultiTermQueryWrapper<Q extends MultiTermQuery>Wraps any  MultiTermQueryas aSpanQuery, 
 so it can be nested within other SpanQuery classes. | 
| class  | SpanNearPayloadCheckQueryOnly return those matches that have a specific payload at
 the given position. | 
| class  | SpanNearQueryMatches spans which are near one another. | 
| class  | SpanNotQueryRemoves matches which overlap with another SpanQuery or 
 within a x tokens before or y tokens after another SpanQuery. | 
| class  | SpanOrQueryMatches the union of its clauses. | 
| class  | SpanPayloadCheckQueryOnly return those matches that have a specific payload at
  the given position. | 
| class  | SpanPositionCheckQueryBase class for filtering a SpanQuery based on the position of a match. | 
| class  | SpanPositionRangeQueryChecks to see if the  SpanPositionCheckQuery.getMatch()lies between a start and end position | 
| class  | SpanTermQueryMatches spans containing a term. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected SpanQuery | SpanPositionCheckQuery. match | 
| protected SpanQuery | SpanWeight. query | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<SpanQuery> | SpanNearQuery. clauses | 
| Modifier and Type | Method and Description | 
|---|---|
| SpanQuery[] | SpanNearQuery. getClauses()Return the clauses whose spans are matched. | 
| SpanQuery[] | SpanOrQuery. getClauses()Return the clauses whose spans are matched. | 
| SpanQuery | SpanNotQuery. getExclude()Return the SpanQuery whose matches must not overlap those returned. | 
| SpanQuery | SpanNotQuery. getInclude()Return the SpanQuery whose matches are filtered. | 
| SpanQuery | FieldMaskingSpanQuery. getMaskedQuery() | 
| SpanQuery | SpanPositionCheckQuery. getMatch() | 
| abstract SpanQuery | SpanMultiTermQueryWrapper.SpanRewriteMethod. rewrite(IndexReader reader,
       MultiTermQuery query) | 
| SpanQuery | SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite. rewrite(IndexReader reader,
       MultiTermQuery query) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SpanOrQuery. addClause(SpanQuery clause)Adds a clause to this query | 
| Constructor and Description | 
|---|
| FieldMaskingSpanQuery(SpanQuery maskedQuery,
                     String maskedField) | 
| SpanFirstQuery(SpanQuery match,
              int end)Construct a SpanFirstQuery matching spans in  matchwhose end
 position is less than or equal toend. | 
| SpanNearQuery(SpanQuery[] clauses,
             int slop,
             boolean inOrder)Construct a SpanNearQuery. | 
| SpanNearQuery(SpanQuery[] clauses,
             int slop,
             boolean inOrder,
             boolean collectPayloads) | 
| SpanNotQuery(SpanQuery include,
            SpanQuery exclude)Construct a SpanNotQuery matching spans from  includewhich
 have no overlap with spans fromexclude. | 
| SpanNotQuery(SpanQuery include,
            SpanQuery exclude,
            int dist)Construct a SpanNotQuery matching spans from  includewhich
 have no overlap with spans fromexcludewithindisttokens ofinclude. | 
| SpanNotQuery(SpanQuery include,
            SpanQuery exclude,
            int pre,
            int post)Construct a SpanNotQuery matching spans from  includewhich
 have no overlap with spans fromexcludewithinpretokens before orposttokens ofinclude. | 
| SpanOrQuery(SpanQuery... clauses)Construct a SpanOrQuery merging the provided clauses. | 
| SpanPayloadCheckQuery(SpanQuery match,
                     Collection<byte[]> payloadToMatch) | 
| SpanPositionCheckQuery(SpanQuery match) | 
| SpanPositionRangeQuery(SpanQuery match,
                      int start,
                      int end) | 
| SpanWeight(SpanQuery query,
          IndexSearcher searcher) | 
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.