Package | Description |
---|---|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.highlight |
SolrHighlighter API and related implementations and utilities |
org.apache.solr.parser |
Solr native variant of the Lucene Classic QueryParser
|
org.apache.solr.request |
APIs and classes for dealing with Solr requests
|
org.apache.solr.response |
API and implementations of
QueryResponseWriter for formatting Solr request responses |
org.apache.solr.schema |
IndexSchema and FieldType implementations for powering schema.xml |
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
org.apache.solr.search.facet |
APIs and classes for the JSON Facet API.
|
org.apache.solr.search.function |
Solr implementations of
ValueSource for function queries. |
org.apache.solr.search.grouping.distributed.command |
Internal classes used to implement distributed result grouping
|
org.apache.solr.search.grouping.distributed.shardresultserializer |
Internal classes used to implement distributed result grouping
|
org.apache.solr.search.join |
Classes related to joins.
|
org.apache.solr.update |
APIs and classes for managing index updates
|
org.apache.solr.update.processor |
UpdateRequestProcessorFactory APIs and implementations for use in UpdateRequestProcessorChain s |
Modifier and Type | Field and Description |
---|---|
SchemaField |
PhrasesIdentificationComponent.PhrasesContextData.analysisField |
protected SchemaField |
RangeFacetRequest.schemaField |
protected SchemaField |
QueryElevationComponent.uniqueKeyField |
Modifier and Type | Method and Description |
---|---|
SchemaField |
StatsField.getSchemaField()
The
SchemaField whose results these stats are computed over, may be null
if the stats are computed over the results of a function or query |
SchemaField |
RangeFacetRequest.getSchemaField() |
Modifier and Type | Method and Description |
---|---|
static List<PhrasesIdentificationComponent.Phrase> |
PhrasesIdentificationComponent.Phrase.extractPhrases(String input,
SchemaField analysisField,
int maxIndexedPositionLength,
int maxQueryPositionLength)
Factory method for constructing a list of Phrases given the specified input and using the analyzer
for the specified field.
|
static StatsField.HllOptions |
StatsField.HllOptions.parseHllOptions(SolrParams localParams,
SchemaField field)
Creates an HllOptions based on the (local) params specified (if appropriate).
|
Constructor and Description |
---|
FieldFacetStats(SolrIndexSearcher searcher,
SchemaField facet_sf,
StatsField statsField) |
Modifier and Type | Method and Description |
---|---|
protected TokenStream |
DefaultSolrHighlighter.createAnalyzerTStream(SchemaField schemaField,
String docText) |
protected Object |
DefaultSolrHighlighter.doHighlightingByFastVectorHighlighter(Document doc,
int docId,
SchemaField schemaField,
DefaultSolrHighlighter.FvhContainer fvhContainer,
IndexReader reader,
SolrQueryRequest req)
Highlights and returns the highlight object for this field -- a String[] by default.
|
protected Object |
DefaultSolrHighlighter.doHighlightingByHighlighter(Document doc,
int docId,
SchemaField schemaField,
Query query,
IndexReader reader,
SolrQueryRequest req)
Highlights and returns the highlight object for this field -- a String[] by default.
|
protected Object |
DefaultSolrHighlighter.doHighlightingOfField(Document doc,
int docId,
SchemaField schemaField,
DefaultSolrHighlighter.FvhContainer fvhContainer,
Query query,
IndexReader reader,
SolrQueryRequest req,
SolrParams params) |
protected boolean |
DefaultSolrHighlighter.useFastVectorHighlighter(SolrParams params,
SchemaField schemaField)
Determines if we should use the FastVectorHighlighter for this field.
|
Constructor and Description |
---|
RawQuery(SchemaField sfield,
List<String> externalVals) |
RawQuery(SchemaField sfield,
String externalVal) |
Constructor and Description |
---|
FacetInterval(SchemaField schemaField,
String startStr,
String endStr,
boolean includeLower,
boolean includeUpper,
String key)
Constructor that accepts already parsed values of start and end.
|
IntervalFacets(SchemaField schemaField,
SolrIndexSearcher searcher,
DocSet docs,
IntervalFacets.FacetInterval[] intervals)
Constructor that accepts an already constructed array of
IntervalFacets.FacetInterval objects. |
IntervalFacets(SchemaField schemaField,
SolrIndexSearcher searcher,
DocSet docs,
String[] intervals,
SolrParams params)
Constructor that accepts un-parsed intervals using "interval faceting" syntax.
|
Modifier and Type | Method and Description |
---|---|
static Object |
DocsStreamer.getValue(SchemaField sf,
IndexableField f) |
Modifier and Type | Field and Description |
---|---|
protected SchemaField |
IndexSchema.uniqueKeyField |
Modifier and Type | Field and Description |
---|---|
protected Map<SchemaField,Integer> |
IndexSchema.copyFieldTargetCounts
keys are all fields copied to, count is num of copyField
directives that target them.
|
protected Map<String,SchemaField> |
IndexSchema.dynamicFieldCache |
protected Map<String,SchemaField> |
IndexSchema.fields |
protected List<SchemaField> |
IndexSchema.fieldsWithDefaultValue |
protected Collection<SchemaField> |
IndexSchema.requiredFields |
Modifier and Type | Method and Description |
---|---|
SchemaField |
CopyField.getDestination() |
SchemaField[] |
IndexSchema.getDynamicFieldPrototypes() |
SchemaField |
IndexSchema.getField(String fieldName)
Returns the SchemaField that should be used for the specified field name
|
SchemaField |
IndexSchema.getFieldOrNull(String fieldName)
Returns the SchemaField that should be used for the specified field name, or
null if none exists.
|
SchemaField |
IndexSchema.DynamicField.getPrototype() |
SchemaField |
CopyField.getSource() |
SchemaField |
IndexSchema.DynamicCopy.getTargetField(String sourceField)
Generates a destination field name based on this source pattern,
by substituting the remainder of this source pattern into the
the given destination pattern.
|
SchemaField |
IndexSchema.getUniqueKeyField()
Unique Key field specified in the schema file
|
SchemaField |
ManagedIndexSchema.newDynamicField(String fieldNamePattern,
String fieldType,
Map<String,?> options) |
SchemaField |
IndexSchema.newDynamicField(String fieldNamePattern,
String fieldType,
Map<String,?> options)
Returns a SchemaField if the given dynamic field glob does not already
exist in this schema, and does not match any dynamic fields
in this schema.
|
SchemaField |
ManagedIndexSchema.newField(String fieldName,
String fieldType,
Map<String,?> options) |
SchemaField |
IndexSchema.newField(String fieldName,
String fieldType,
Map<String,?> options)
Returns a SchemaField if the given fieldName does not already
exist in this schema, and does not match any dynamic fields
in this schema.
|
protected SchemaField |
AbstractSubTypeFieldType.subField(SchemaField base,
int i,
IndexSchema schema) |
Modifier and Type | Method and Description |
---|---|
Map<String,SchemaField> |
IndexSchema.getFields()
Provides direct access to the Map containing all explicit
(ie: non-dynamic) fields in the index, keyed on field name.
|
List<SchemaField> |
IndexSchema.getFieldsWithDefaultValue()
Provides direct access to the List containing all fields with a default value
|
Collection<SchemaField> |
IndexSchema.getRequiredFields()
Provides direct access to the List containing all required fields.
|
Modifier and Type | Method and Description |
---|---|
IndexSchema |
IndexSchema.addField(SchemaField newField) |
IndexSchema |
IndexSchema.addField(SchemaField newField,
boolean persist)
Copies this schema, adds the given field to the copy
Requires synchronizing on the object returned by
IndexSchema.getSchemaUpdateLock() . |
IndexSchema |
IndexSchema.addField(SchemaField newField,
Collection<String> copyFieldNames)
Copies this schema, adds the given field to the copy
Requires synchronizing on the object returned by
IndexSchema.getSchemaUpdateLock() . |
void |
FieldType.checkSchemaField(SchemaField field)
Check's
SchemaField instances constructed
using this field type to ensure that they are valid. |
void |
BinaryField.checkSchemaField(SchemaField field) |
void |
CurrencyFieldType.checkSchemaField(SchemaField field) |
IndexableField |
DatePointField.createField(SchemaField field,
Object value) |
IndexableField |
IntPointField.createField(SchemaField field,
Object value) |
IndexableField |
EnumFieldType.createField(SchemaField field,
Object value) |
IndexableField |
FieldType.createField(SchemaField field,
Object value)
Used for adding a document when a field needs to be created from a
type and a string.
|
IndexableField |
TrieField.createField(SchemaField field,
Object value)
Deprecated.
|
IndexableField |
PreAnalyzedField.createField(SchemaField field,
Object value) |
IndexableField |
LongPointField.createField(SchemaField field,
Object value) |
IndexableField |
DoublePointField.createField(SchemaField field,
Object value) |
IndexableField |
LatLonType.createField(SchemaField field,
Object value)
Deprecated.
|
IndexableField |
BinaryField.createField(SchemaField field,
Object val) |
Field |
AbstractSpatialFieldType.createField(SchemaField field,
Object val) |
IndexableField |
PointType.createField(SchemaField field,
Object value)
It never makes sense to create a single field, so make it impossible to happen by
throwing UnsupportedOperationException
|
IndexableField |
EnumField.createField(SchemaField field,
Object value)
Deprecated.
|
IndexableField |
FloatPointField.createField(SchemaField field,
Object value) |
List<IndexableField> |
EnumFieldType.createFields(SchemaField sf,
Object value) |
List<IndexableField> |
FieldType.createFields(SchemaField field,
Object value)
Given a
SchemaField , create one or more IndexableField instances |
List<IndexableField> |
TrieField.createFields(SchemaField sf,
Object value)
Deprecated.
|
List<IndexableField> |
CollationField.createFields(SchemaField field,
Object value) |
List<IndexableField> |
StrField.createFields(SchemaField field,
Object value) |
List<IndexableField> |
DateRangeField.createFields(SchemaField field,
Object val) |
List<IndexableField> |
BoolField.createFields(SchemaField field,
Object value) |
List<IndexableField> |
SortableTextField.createFields(SchemaField field,
Object value) |
List<IndexableField> |
LatLonType.createFields(SchemaField field,
Object value)
Deprecated.
|
List<IndexableField> |
AbstractSpatialFieldType.createFields(SchemaField field,
Object val) |
List<IndexableField> |
PointField.createFields(SchemaField sf,
Object value) |
List<IndexableField> |
PointType.createFields(SchemaField field,
Object value) |
List<IndexableField> |
CurrencyFieldType.createFields(SchemaField field,
Object externalVal) |
List<IndexableField> |
EnumField.createFields(SchemaField sf,
Object value)
Deprecated.
|
static FieldType |
PreAnalyzedField.createFieldType(SchemaField field)
Utility method to create a
FieldType
based on the SchemaField |
IndexableField |
PreAnalyzedField.fromString(SchemaField field,
String val) |
FieldType.MultiValueSelector |
PrimitiveFieldType.getDefaultMultiValueSelectorForSort(SchemaField field,
boolean reverse) |
FieldType.MultiValueSelector |
FieldType.getDefaultMultiValueSelectorForSort(SchemaField field,
boolean reverse)
Method for indicating which
FieldType.MultiValueSelector (if any) should be used when
sorting on a multivalued field of this type for the specified direction (asc/desc). |
FieldType.MultiValueSelector |
SortableTextField.getDefaultMultiValueSelectorForSort(SchemaField field,
boolean reverse) |
protected Query |
NumericFieldType.getDocValuesRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
protected Query |
DatePointField.getExactQuery(SchemaField field,
String externalVal) |
protected Query |
IntPointField.getExactQuery(SchemaField field,
String externalVal) |
protected Query |
LongPointField.getExactQuery(SchemaField field,
String externalVal) |
protected Query |
DoublePointField.getExactQuery(SchemaField field,
String externalVal) |
protected abstract Query |
PointField.getExactQuery(SchemaField field,
String externalVal) |
protected Query |
FloatPointField.getExactQuery(SchemaField field,
String externalVal) |
Query |
AbstractSubTypeFieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
Throws UnsupportedOperationException()
|
Query |
FieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
Returns a Query instance for doing searches against a field.
|
Query |
TrieField.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
Deprecated.
|
Query |
TextField.getFieldQuery(QParser parser,
SchemaField field,
String externalVal) |
Query |
LatLonType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
Deprecated.
|
Query |
AbstractSpatialFieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal) |
Query |
PointField.getFieldQuery(QParser parser,
SchemaField field,
String externalVal) |
Query |
PointType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal) |
Query |
CurrencyFieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal) |
FileFloatSource |
ExternalFileField.getFileFloatSource(SchemaField field)
Get a FileFloatSource for the given field, using the datadir from the
IndexSchema
|
FileFloatSource |
ExternalFileField.getFileFloatSource(SchemaField field,
String datadir)
Get a FileFloatSource for the given field.
|
protected SortField |
FieldType.getNumericSort(SchemaField field,
NumberType type,
boolean reverse)
Utility usable by subclasses when they want to get basic Numeric sorting
using common checks.
|
Query |
DatePointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
IntPointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
LongPointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
DoublePointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
abstract Query |
PointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
FloatPointField.getPointRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
FieldType.getPrefixQuery(QParser parser,
SchemaField sf,
String termStr)
Returns a Query instance for doing prefix searches on this field type.
|
Query |
PointField.getPrefixQuery(QParser parser,
SchemaField sf,
String termStr) |
protected Query |
AbstractSpatialFieldType.getQueryFromSpatialArgs(QParser parser,
SchemaField field,
SpatialArgs spatialArgs) |
Query |
CurrencyFieldType.getRangeQuery(QParser parser,
SchemaField field,
CurrencyValue p1,
CurrencyValue p2,
boolean minInclusive,
boolean maxInclusive) |
Query |
EnumFieldType.getRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
FieldType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
Returns a Query instance for doing range searches on this field type.
|
Query |
TrieField.getRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive)
Deprecated.
|
Query |
CollationField.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive) |
Query |
DateRangeField.getRangeQuery(QParser parser,
SchemaField field,
String startStr,
String endStr,
boolean minInclusive,
boolean maxInclusive) |
Query |
TextField.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive) |
Query |
LatLonType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
Deprecated.
|
Query |
AbstractSpatialFieldType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive) |
Query |
PointField.getRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
Query |
PointType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive) |
Query |
CurrencyFieldType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive) |
Query |
EnumField.getRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive)
Deprecated.
|
protected Query |
NumericFieldType.getRangeQueryForFloatDoubleDocValues(SchemaField sf,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
protected Query |
NumericFieldType.getRangeQueryForMultiValuedDoubleDocValues(SchemaField sf,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
protected Query |
NumericFieldType.getRangeQueryForMultiValuedFloatDocValues(SchemaField sf,
String min,
String max,
boolean minInclusive,
boolean maxInclusive) |
MultiTermQuery.RewriteMethod |
FieldType.getRewriteMethod(QParser parser,
SchemaField field)
Expert: Returns the rewrite method for multiterm queries such as wildcards.
|
Query |
DatePointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVals) |
Query |
IntPointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVal) |
Query |
FieldType.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVals) |
Query |
LongPointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVal) |
Query |
DoublePointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVal) |
Query |
PointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVals) |
Query |
FloatPointField.getSetQuery(QParser parser,
SchemaField field,
Collection<String> externalVal) |
ValueSource |
EnumFieldType.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser) |
ValueSource |
FieldType.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser)
Method for dynamically building a ValueSource based on a single value of a multivalued field.
|
ValueSource |
TrieField.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser)
Deprecated.
|
ValueSource |
StrField.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser) |
ValueSource |
SortableTextField.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser) |
ValueSource |
PointField.getSingleValueSource(FieldType.MultiValueSelector choice,
SchemaField field,
QParser parser) |
protected ValueSource |
DatePointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField field) |
protected ValueSource |
IntPointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField f) |
protected ValueSource |
LongPointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField field) |
protected ValueSource |
DoublePointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField f) |
protected abstract ValueSource |
PointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField field)
Helper method that will only be called for multivalued Point fields that have doc values.
|
protected ValueSource |
FloatPointField.getSingleValueSource(SortedNumericSelector.Type choice,
SchemaField f) |
protected ValueSource |
TrieFloatField.getSingleValueSource(SortedSetSelector.Type choice,
SchemaField f)
Deprecated.
|
protected ValueSource |
TrieDoubleField.getSingleValueSource(SortedSetSelector.Type choice,
SchemaField f)
Deprecated.
|
protected ValueSource |
TrieField.getSingleValueSource(SortedSetSelector.Type choice,
SchemaField field)
Deprecated.
Helper method that will only be called for multivalued Trie fields that have doc values.
|
protected ValueSource |
TrieLongField.getSingleValueSource(SortedSetSelector.Type choice,
SchemaField f)
Deprecated.
|
protected ValueSource |
TrieIntField.getSingleValueSource(SortedSetSelector.Type choice,
SchemaField f)
Deprecated.
|
protected static SortField |
FieldType.getSortedNumericSortField(SchemaField field,
SortField.Type sortType,
SortedNumericSelector.Type selector,
boolean reverse,
Object missingLow,
Object missingHigh)
|
protected static SortField |
FieldType.getSortedSetSortField(SchemaField field,
SortedSetSelector.Type selector,
boolean reverse,
Object missingLow,
Object missingHigh)
|
SortField |
ExternalFileField.getSortField(SchemaField field,
boolean reverse) |
SortField |
UUIDField.getSortField(SchemaField field,
boolean reverse) |
SortField |
RandomSortField.getSortField(SchemaField field,
boolean reverse) |
SortField |
EnumFieldType.getSortField(SchemaField field,
boolean top) |
abstract SortField |
FieldType.getSortField(SchemaField field,
boolean top)
Returns the SortField instance that should be used to sort fields
of this type.
|
SortField |
TrieField.getSortField(SchemaField field,
boolean reverse)
Deprecated.
|
SortField |
PreAnalyzedField.getSortField(SchemaField field,
boolean top) |
SortField |
CollationField.getSortField(SchemaField field,
boolean top) |
SortField |
StrField.getSortField(SchemaField field,
boolean reverse) |
SortField |
BoolField.getSortField(SchemaField field,
boolean reverse) |
SortField |
SortableTextField.getSortField(SchemaField field,
boolean reverse) |
SortField |
AbstractEnumField.getSortField(SchemaField field,
boolean top) |
SortField |
TextField.getSortField(SchemaField field,
boolean reverse) |
SortField |
LatLonType.getSortField(SchemaField field,
boolean top)
Deprecated.
|
SortField |
BinaryField.getSortField(SchemaField field,
boolean top) |
SortField |
AbstractSpatialFieldType.getSortField(SchemaField field,
boolean top) |
SortField |
PointField.getSortField(SchemaField field,
boolean top) |
SortField |
GeoHashField.getSortField(SchemaField field,
boolean top)
Deprecated.
|
SortField |
PointType.getSortField(SchemaField field,
boolean top) |
SortField |
CurrencyFieldType.getSortField(SchemaField field,
boolean reverse) |
protected static SortField |
FieldType.getSortField(SchemaField field,
SortField.Type sortType,
boolean reverse,
Object missingLow,
Object missingHigh)
A Helper utility method for use by subclasses.
|
protected StoredField |
DatePointField.getStoredField(SchemaField sf,
Object value) |
protected StoredField |
IntPointField.getStoredField(SchemaField sf,
Object value) |
protected StoredField |
LongPointField.getStoredField(SchemaField sf,
Object value) |
protected StoredField |
DoublePointField.getStoredField(SchemaField sf,
Object value) |
protected abstract StoredField |
PointField.getStoredField(SchemaField sf,
Object value) |
protected StoredField |
FloatPointField.getStoredField(SchemaField sf,
Object value) |
protected SortField |
FieldType.getStringSort(SchemaField field,
boolean reverse)
Utility usable by subclasses when they want to get basic String sorting
using common checks.
|
UninvertingReader.Type |
ExternalFileField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
DatePointField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
IntPointField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
RandomSortField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
EnumFieldType.getUninversionType(SchemaField sf) |
abstract UninvertingReader.Type |
FieldType.getUninversionType(SchemaField sf)
If DocValues is not enabled for a field, but it's indexed, docvalues can be constructed
on the fly (uninverted, aka fieldcache) on the first request to sort, facet, etc.
|
UninvertingReader.Type |
TrieField.getUninversionType(SchemaField sf)
Deprecated.
|
UninvertingReader.Type |
PreAnalyzedField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
CollationField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
StrField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
BoolField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
SortableTextField.getUninversionType(SchemaField sf)
If DocValues is not enabled for a field, but it's indexed, docvalues can be constructed
on the fly (uninverted, aka fieldcache) on the first request to sort, facet, etc.
|
UninvertingReader.Type |
LongPointField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
DoublePointField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
TextField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
LatLonType.getUninversionType(SchemaField sf)
Deprecated.
|
UninvertingReader.Type |
BinaryField.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
AbstractSpatialFieldType.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
GeoHashField.getUninversionType(SchemaField sf)
Deprecated.
|
UninvertingReader.Type |
PointType.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
CurrencyFieldType.getUninversionType(SchemaField sf) |
UninvertingReader.Type |
EnumField.getUninversionType(SchemaField sf)
Deprecated.
|
UninvertingReader.Type |
FloatPointField.getUninversionType(SchemaField sf) |
ValueSource |
ExternalFileField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
DatePointField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
IntPointField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
RandomSortField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
FieldType.getValueSource(SchemaField field,
QParser parser)
called to get the default value source (normally, from the
Lucene FieldCache.)
|
ValueSource |
TrieField.getValueSource(SchemaField field,
QParser qparser)
Deprecated.
|
ValueSource |
PreAnalyzedField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
StrField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
BoolField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
SortableTextField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
LongPointField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
DoublePointField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
AbstractEnumField.getValueSource(SchemaField field,
QParser qparser) |
ValueSource |
TextField.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
LatLonType.getValueSource(SchemaField field,
QParser parser)
Deprecated.
|
ValueSource |
AbstractSpatialFieldType.getValueSource(SchemaField field,
QParser parser) |
ValueSource |
GeoHashField.getValueSource(SchemaField field,
QParser parser)
Deprecated.
|
ValueSource |
PointType.getValueSource(SchemaField field,
QParser parser) |
org.apache.solr.schema.CurrencyFieldType.RawCurrencyValueSource |
CurrencyFieldType.getValueSource(SchemaField field,
QParser parser)
Returns a ValueSource over this field in which the numeric value for
each document represents the indexed value as converted to the default
currency for the field, normalized to its most granular form based
on the default fractional digits.
|
ValueSource |
FloatPointField.getValueSource(SchemaField field,
QParser qparser) |
protected DoubleValuesSource |
BBoxField.getValueSourceFromSpatialArgs(QParser parser,
SchemaField field,
SpatialArgs spatialArgs,
String scoreParam,
BBoxStrategy strategy) |
protected DoubleValuesSource |
AbstractSpatialFieldType.getValueSourceFromSpatialArgs(QParser parser,
SchemaField field,
SpatialArgs spatialArgs,
String score,
T strategy) |
boolean |
IndexSchema.isCopyFieldTarget(SchemaField f)
Check if a field is used as the destination of a copyField operation
|
protected boolean |
IndexSchema.isDuplicateDynField(List<IndexSchema.DynamicField> dFields,
SchemaField f) |
protected boolean |
PointField.isFieldUsed(SchemaField field) |
protected boolean |
IndexSchema.isValidDynamicField(List<IndexSchema.DynamicField> dFields,
SchemaField f) |
void |
IndexSchema.registerDynamicFields(SchemaField... fields)
Register one or more new Dynamic Fields with the Schema.
|
protected void |
IndexSchema.registerExplicitSrcAndDestFields(String source,
int maxChars,
SchemaField destSchemaField,
SchemaField sourceSchemaField) |
protected SchemaField |
AbstractSubTypeFieldType.subField(SchemaField base,
int i,
IndexSchema schema) |
Object |
DatePointField.toObject(SchemaField sf,
BytesRef term) |
Object |
IntPointField.toObject(SchemaField sf,
BytesRef term) |
EnumFieldValue |
EnumFieldType.toObject(SchemaField sf,
BytesRef term) |
Object |
FieldType.toObject(SchemaField sf,
BytesRef term) |
Object |
TrieField.toObject(SchemaField sf,
BytesRef term)
Deprecated.
|
Object |
StrField.toObject(SchemaField sf,
BytesRef term) |
Object |
BoolField.toObject(SchemaField sf,
BytesRef term) |
Object |
LongPointField.toObject(SchemaField sf,
BytesRef term) |
Object |
DoublePointField.toObject(SchemaField sf,
BytesRef term) |
Object |
TextField.toObject(SchemaField sf,
BytesRef term) |
EnumFieldValue |
EnumField.toObject(SchemaField sf,
BytesRef term)
Deprecated.
|
Object |
FloatPointField.toObject(SchemaField sf,
BytesRef term) |
Modifier and Type | Method and Description |
---|---|
ManagedIndexSchema |
ManagedIndexSchema.addDynamicFields(Collection<SchemaField> newDynamicFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist) |
IndexSchema |
IndexSchema.addDynamicFields(Collection<SchemaField> newDynamicFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist)
Copies this schema, adds the given dynamic fields to the copy,
Requires synchronizing on the object returned by
IndexSchema.getSchemaUpdateLock() . |
IndexSchema |
IndexSchema.addFields(Collection<SchemaField> newFields)
Copies this schema, adds the given fields to the copy.
|
ManagedIndexSchema |
ManagedIndexSchema.addFields(Collection<SchemaField> newFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist) |
IndexSchema |
IndexSchema.addFields(Collection<SchemaField> newFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist)
Copies this schema, adds the given fields to the copy
Requires synchronizing on the object returned by
IndexSchema.getSchemaUpdateLock() . |
Constructor and Description |
---|
CopyField(SchemaField source,
SchemaField destination) |
CopyField(SchemaField source,
SchemaField destination,
int maxChars) |
SchemaField(SchemaField prototype,
String name)
Create a new SchemaField from an existing one by using all
of the properties of the prototype except the field name.
|
Modifier and Type | Field and Description |
---|---|
SchemaField |
SpatialOptions.field |
Modifier and Type | Method and Description |
---|---|
List<SchemaField> |
SortSpec.getSchemaFields()
Gets the Solr SchemaFields that correspond to each of the SortFields used
in this sort.
|
Modifier and Type | Method and Description |
---|---|
void |
SortSpec.setSortAndFields(Sort s,
List<SchemaField> fields)
the specified SchemaFields must correspond one to one with the Sort's SortFields,
using null where appropriate.
|
Constructor and Description |
---|
SortSpec(Sort sort,
SchemaField[] fields) |
SortSpec(Sort sort,
SchemaField[] fields,
int num,
int offset) |
SpatialOptions(String pointStr,
double dist,
SchemaField sf,
String measStr,
double radius) |
ValueIterator(SchemaField field,
List<LeafReaderContext> readers) |
ValueIterator(SchemaField field,
List<LeafReaderContext> readers,
int totalBufferSize,
int minSegBufferSize) |
Constructor and Description |
---|
SortSpec(Sort sort,
List<SchemaField> fields) |
SortSpec(Sort sort,
List<SchemaField> fields,
int num,
int offset) |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
FieldUtil.getNumericDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
static SortedDocValues |
FieldUtil.getSortedDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
static SortedSetDocValues |
FieldUtil.getSortedSetDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
Constructor and Description |
---|
FileFloatSource(SchemaField field,
SchemaField keyField,
float defVal,
String datadir)
Creates a new FileFloatSource
|
Modifier and Type | Method and Description |
---|---|
SearchGroupsFieldCommand.Builder |
SearchGroupsFieldCommand.Builder.setField(SchemaField field) |
TopGroupsFieldCommand.Builder |
TopGroupsFieldCommand.Builder.setField(SchemaField field) |
Modifier and Type | Method and Description |
---|---|
protected NamedList |
TopGroupsResultTransformer.serializeTopGroups(TopGroups<BytesRef> data,
SchemaField groupField) |
Modifier and Type | Method and Description |
---|---|
Query |
GraphPointsCollector.getResultQuery(SchemaField matchField,
boolean useAutomaton) |
Constructor and Description |
---|
GraphPointsCollector(SchemaField collectField,
DocSet skipSet,
DocSet leafNodes) |
Modifier and Type | Field and Description |
---|---|
protected SchemaField |
UpdateHandler.idField |
Modifier and Type | Method and Description |
---|---|
static SchemaField |
VersionInfo.getAndCheckVersionField(IndexSchema schema)
Gets and returns the
CommonParams.VERSION_FIELD from the specified
schema, after verifying that it is indexed, stored, and single-valued. |
SchemaField |
VersionInfo.getVersionField() |
Modifier and Type | Field and Description |
---|---|
protected SchemaField |
AtomicUpdateDocumentMerger.idField |
Modifier and Type | Method and Description |
---|---|
static boolean |
AtomicUpdateDocumentMerger.isSupportedFieldForInPlaceUpdate(SchemaField schemaField)
Given a schema field, return whether or not such a field is supported for an in-place update.
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.