Example usage for Java org.apache.lucene.search.spans SpanBoostQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
SpanBoostQuery(SpanQuery query, float boost) Sole constructor: wrap query in such a way that the produced scores will be boosted by boost . |
float | getBoost() Return the applied boost. |
SpanQuery | getQuery() Return the wrapped SpanQuery . |