Package | Description |
---|---|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
LongValuesSource |
ValueSource.asLongValuesSource()
Expose this ValueSource as a LongValuesSource
|
static LongValuesSource |
IndexReaderFunctions.sumTotalTermFreq(java.lang.String field)
Creates a constant value source returning the sumTotalTermFreq for a field
|
Modifier and Type | Method and Description |
---|---|
static LongValuesSource |
LongValuesSource.constant(long value)
Creates a LongValuesSource that always returns a constant value
|
static LongValuesSource |
LongValuesSource.fromIntField(java.lang.String field)
Creates a LongValuesSource that wraps an int-valued field
|
static LongValuesSource |
LongValuesSource.fromLongField(java.lang.String field)
Creates a LongValuesSource that wraps a long-valued field
|
abstract LongValuesSource |
LongValuesSource.rewrite(IndexSearcher searcher)
Return a LongValuesSource specialised for the given IndexSearcher
Implementations should assume that this will only be called once.
|
LongValuesSource |
DoubleValuesSource.toLongValuesSource()
Convert to a LongValuesSource by casting the double values to longs
|
Constructor and Description |
---|
CoveringQuery(java.util.Collection<Query> queries,
LongValuesSource minimumNumberMatch)
Sole constructor.
|
Copyright © 2000–2022 The Apache Software Foundation. All rights reserved.