|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SchemaField | |
---|---|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.request | APIs and classes for dealing with Solr requests |
org.apache.solr.response |
API and implementations of QueryResponseWriter for formating 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.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.update | APIs and classes for managing index updates |
Uses of SchemaField in org.apache.solr.handler.component |
---|
Methods in org.apache.solr.handler.component with parameters of type SchemaField | |
---|---|
static StatsValues |
StatsValuesFactory.createStatsValues(SchemaField sf,
boolean calcDistinct)
Creates an instance of StatsValues which supports values from a field of the given FieldType |
Constructors in org.apache.solr.handler.component with parameters of type SchemaField | |
---|---|
FieldFacetStats(SolrIndexSearcher searcher,
String name,
SchemaField field_sf,
SchemaField facet_sf,
boolean calcDistinct)
|
Uses of SchemaField in org.apache.solr.request |
---|
Methods in org.apache.solr.request with parameters of type SchemaField | |
---|---|
protected int |
SimpleFacets.rangeCount(SchemaField sf,
Date low,
Date high,
boolean iLow,
boolean iHigh)
Deprecated. Use rangeCount(SchemaField,String,String,boolean,boolean) which is more generalized |
protected int |
SimpleFacets.rangeCount(SchemaField sf,
String low,
String high,
boolean iLow,
boolean iHigh)
Macro for getting the numDocs of range over docs |
Uses of SchemaField in org.apache.solr.response |
---|
Methods in org.apache.solr.response with parameters of type SchemaField | |
---|---|
Object |
BinaryResponseWriter.Resolver.getValue(SchemaField sf,
IndexableField f)
|
Uses of SchemaField in org.apache.solr.schema |
---|
Fields in org.apache.solr.schema declared as SchemaField | |
---|---|
protected SchemaField |
IndexSchema.uniqueKeyField
|
Fields in org.apache.solr.schema with type parameters of type SchemaField | |
---|---|
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.fields
|
protected List<SchemaField> |
IndexSchema.fieldsWithDefaultValue
|
protected Collection<SchemaField> |
IndexSchema.requiredFields
|
Methods in org.apache.solr.schema that return SchemaField | |
---|---|
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 |
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. |
SchemaField |
ManagedIndexSchema.newField(String fieldName,
String fieldType,
Map<String,?> options)
|
protected SchemaField |
AbstractSubTypeFieldType.subField(SchemaField base,
int i,
IndexSchema schema)
|
Methods in org.apache.solr.schema that return types with arguments of type SchemaField | |
---|---|
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. |
Methods in org.apache.solr.schema with parameters of type SchemaField | |
---|---|
IndexSchema |
IndexSchema.addField(SchemaField newField)
Copies this schema, adds the given field to the copy, then persists the new schema. |
ManagedIndexSchema |
ManagedIndexSchema.addField(SchemaField newField)
|
IndexSchema |
IndexSchema.addField(SchemaField newField,
Collection<String> copyFieldNames)
Copies this schema, adds the given field to the copy, then persists the new schema. |
ManagedIndexSchema |
ManagedIndexSchema.addField(SchemaField newField,
Collection<String> copyFieldNames)
|
void |
TrieDateField.checkSchemaField(SchemaField field)
|
void |
CollationField.checkSchemaField(SchemaField field)
|
void |
FieldType.checkSchemaField(SchemaField field)
Check's SchemaField instances constructed
using this field type to ensure that they are valid. |
void |
TrieField.checkSchemaField(SchemaField field)
|
void |
StrField.checkSchemaField(SchemaField field)
|
void |
CurrencyField.checkSchemaField(SchemaField field)
|
void |
EnumField.checkSchemaField(SchemaField field)
Check's SchemaField instances constructed
using this field type to ensure that they are valid. |
IndexableField |
PointType.createField(SchemaField field,
Object value,
float boost)
It never makes sense to create a single field, so make it impossible to happen by throwing UnsupportedOperationException |
IndexableField |
PreAnalyzedField.createField(SchemaField field,
Object value,
float boost)
|
Field |
AbstractSpatialFieldType.createField(SchemaField field,
Object val,
float boost)
|
IndexableField |
TrieDateField.createField(SchemaField field,
Object value,
float boost)
|
IndexableField |
FieldType.createField(SchemaField field,
Object value,
float boost)
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,
float boost)
|
IndexableField |
LatLonType.createField(SchemaField field,
Object value,
float boost)
|
IndexableField |
DateField.createField(SchemaField field,
Object value,
float boost)
Deprecated. |
IndexableField |
BinaryField.createField(SchemaField field,
Object val,
float boost)
|
IndexableField |
EnumField.createField(SchemaField field,
Object value,
float boost)
Used for adding a document when a field needs to be created from a type and a string. |
List<IndexableField> |
PointType.createFields(SchemaField field,
Object value,
float boost)
|
List<IndexableField> |
AbstractSpatialFieldType.createFields(SchemaField field,
Object val,
float boost)
|
List<IndexableField> |
TrieDateField.createFields(SchemaField field,
Object value,
float boost)
|
List<IndexableField> |
CollationField.createFields(SchemaField field,
Object value,
float boost)
|
List<IndexableField> |
FieldType.createFields(SchemaField field,
Object value,
float boost)
Given a SchemaField , create one or more IndexableField instances |
List<IndexableField> |
TrieField.createFields(SchemaField sf,
Object value,
float boost)
|
List<IndexableField> |
LatLonType.createFields(SchemaField field,
Object value,
float boost)
|
List<IndexableField> |
StrField.createFields(SchemaField field,
Object value,
float boost)
|
List<IndexableField> |
CurrencyField.createFields(SchemaField field,
Object externalVal,
float boost)
|
static FieldType |
PreAnalyzedField.createFieldType(SchemaField field)
Utility method to create a FieldType
based on the SchemaField |
IndexableField |
PreAnalyzedField.fromString(SchemaField field,
String val,
float boost)
|
Query |
PointType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
|
Query |
AbstractSpatialFieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
|
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)
|
Query |
AbstractSubTypeFieldType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
Throws UnsupportedOperationException() |
Query |
LatLonType.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
|
Query |
CurrencyField.getFieldQuery(QParser parser,
SchemaField field,
String externalVal)
|
Query |
TextField.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 FieldInfo.IndexOptions |
FieldType.getIndexOptions(SchemaField field,
String internalVal)
|
Query |
FieldType.getPrefixQuery(QParser parser,
SchemaField sf,
String termStr)
Returns a Query instance for doing prefix searches on this field type. |
Query |
CurrencyField.getRangeQuery(QParser parser,
SchemaField field,
org.apache.solr.schema.CurrencyValue p1,
org.apache.solr.schema.CurrencyValue p2,
boolean minInclusive,
boolean maxInclusive)
|
Query |
TrieDateField.getRangeQuery(QParser parser,
SchemaField sf,
Date min,
Date max,
boolean minInclusive,
boolean maxInclusive)
|
Query |
DateField.getRangeQuery(QParser parser,
SchemaField sf,
Date part1,
Date part2,
boolean minInclusive,
boolean maxInclusive)
Deprecated. DateField specific range query |
Query |
PointType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
|
Query |
AbstractSpatialFieldType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
|
Query |
TrieDateField.getRangeQuery(QParser parser,
SchemaField field,
String min,
String max,
boolean minInclusive,
boolean maxInclusive)
|
Query |
CollationField.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
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)
|
Query |
LatLonType.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
|
Query |
CurrencyField.getRangeQuery(QParser parser,
SchemaField field,
String part1,
String part2,
boolean minInclusive,
boolean maxInclusive)
|
Query |
TextField.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)
Returns a Query instance for doing range searches on this field type. |
MultiTermQuery.RewriteMethod |
FieldType.getRewriteMethod(QParser parser,
SchemaField field)
Expert: Returns the rewrite method for multiterm queries such as wildcards. |
SortField |
DoubleField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
PointType.getSortField(SchemaField field,
boolean top)
|
SortField |
FloatField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
PreAnalyzedField.getSortField(SchemaField field,
boolean top)
|
SortField |
UUIDField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
ExternalFileField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
AbstractSpatialFieldType.getSortField(SchemaField field,
boolean top)
|
SortField |
TrieDateField.getSortField(SchemaField field,
boolean top)
|
SortField |
CollationField.getSortField(SchemaField field,
boolean top)
|
SortField |
ShortField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
SortableIntField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
RandomSortField.getSortField(SchemaField field,
boolean reverse)
|
abstract SortField |
FieldType.getSortField(SchemaField field,
boolean top)
Returns the SortField instance that should be used to sort fields of this type. |
SortField |
SortableFloatField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
TrieField.getSortField(SchemaField field,
boolean top)
|
SortField |
SortableDoubleField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
LatLonType.getSortField(SchemaField field,
boolean top)
|
SortField |
IntField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
LongField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
SortableLongField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
GeoHashField.getSortField(SchemaField field,
boolean top)
|
SortField |
ByteField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
DateField.getSortField(SchemaField field,
boolean reverse)
Deprecated. |
SortField |
StrField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
BoolField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
CurrencyField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
TextField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
BinaryField.getSortField(SchemaField field,
boolean top)
|
SortField |
BCDIntField.getSortField(SchemaField field,
boolean reverse)
|
SortField |
EnumField.getSortField(SchemaField field,
boolean top)
Returns the SortField instance that should be used to sort fields of this type. |
protected SortField |
FieldType.getStringSort(SchemaField field,
boolean reverse)
Utility usable by subclasses when they want to get basic String sorting using common checks. |
ValueSource |
DoubleField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
PointType.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
FloatField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
ExternalFileField.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
AbstractSpatialFieldType.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
TrieDateField.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
ShortField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
ValueSource |
SortableIntField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
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 |
SortableFloatField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
ValueSource |
TrieField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
SortableDoubleField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
ValueSource |
LatLonType.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
IntField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
LongField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
SortableLongField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
ValueSource |
GeoHashField.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
ByteField.getValueSource(SchemaField field,
QParser qparser)
Deprecated. |
ValueSource |
DateField.getValueSource(SchemaField field,
QParser parser)
Deprecated. |
ValueSource |
StrField.getValueSource(SchemaField field,
QParser parser)
|
ValueSource |
BoolField.getValueSource(SchemaField field,
QParser qparser)
|
org.apache.solr.schema.CurrencyField.RawCurrencyValueSource |
CurrencyField.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 it's most granular form based on the default fractional digits. |
ValueSource |
BCDIntField.getValueSource(SchemaField field,
QParser qparser)
|
ValueSource |
EnumField.getValueSource(SchemaField field,
QParser qparser)
called to get the default value source (normally, from the Lucene FieldCache.) |
boolean |
IndexSchema.isCopyFieldTarget(SchemaField f)
Check if a field is used as the destination of a copyField operation |
void |
IndexSchema.registerDynamicFields(SchemaField... fields)
Register one or more new Dynamic Fields with the Schema. |
protected SchemaField |
AbstractSubTypeFieldType.subField(SchemaField base,
int i,
IndexSchema schema)
|
Object |
TrieDateField.toObject(SchemaField sf,
BytesRef term)
|
Object |
FieldType.toObject(SchemaField sf,
BytesRef term)
|
Object |
TrieField.toObject(SchemaField sf,
BytesRef term)
|
Object |
StrField.toObject(SchemaField sf,
BytesRef term)
|
Object |
BoolField.toObject(SchemaField sf,
BytesRef term)
|
Object |
TextField.toObject(SchemaField sf,
BytesRef term)
|
EnumFieldValue |
EnumField.toObject(SchemaField sf,
BytesRef term)
|
Method parameters in org.apache.solr.schema with type arguments of type SchemaField | |
---|---|
IndexSchema |
IndexSchema.addFields(Collection<SchemaField> newFields)
Copies this schema, adds the given fields to the copy, then persists the new schema. |
ManagedIndexSchema |
ManagedIndexSchema.addFields(Collection<SchemaField> newFields)
|
IndexSchema |
IndexSchema.addFields(Collection<SchemaField> newFields,
Map<String,Collection<String>> copyFieldNames)
Copies this schema, adds the given fields to the copy, then persists the new schema. |
ManagedIndexSchema |
ManagedIndexSchema.addFields(Collection<SchemaField> newFields,
Map<String,Collection<String>> copyFieldNames)
|
Constructors in org.apache.solr.schema with parameters of type SchemaField | |
---|---|
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. |
Uses of SchemaField in org.apache.solr.search |
---|
Fields in org.apache.solr.search declared as SchemaField | |
---|---|
SchemaField |
SpatialOptions.field
|
Methods in org.apache.solr.search that return types with arguments of type SchemaField | |
---|---|
List<SchemaField> |
SortSpec.getSchemaFields()
Gets the Solr SchemaFields that correspond to each of the SortFields used in this sort. |
Method parameters in org.apache.solr.search with type arguments of type SchemaField | |
---|---|
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. |
Constructors in org.apache.solr.search with parameters of type SchemaField | |
---|---|
SortSpec(Sort sort,
SchemaField[] fields)
|
|
SpatialOptions(String pointStr,
double dist,
SchemaField sf,
String measStr,
double radius)
|
Constructor parameters in org.apache.solr.search with type arguments of type SchemaField | |
---|---|
SortSpec(Sort sort,
List<SchemaField> fields)
|
Uses of SchemaField in org.apache.solr.search.function |
---|
Constructors in org.apache.solr.search.function with parameters of type SchemaField | |
---|---|
FileFloatSource(SchemaField field,
SchemaField keyField,
float defVal,
String datadir)
Creates a new FileFloatSource |
Uses of SchemaField in org.apache.solr.search.grouping.distributed.command |
---|
Methods in org.apache.solr.search.grouping.distributed.command with parameters of type SchemaField | |
---|---|
SearchGroupsFieldCommand.Builder |
SearchGroupsFieldCommand.Builder.setField(SchemaField field)
|
TopGroupsFieldCommand.Builder |
TopGroupsFieldCommand.Builder.setField(SchemaField field)
|
Uses of SchemaField in org.apache.solr.search.grouping.distributed.shardresultserializer |
---|
Methods in org.apache.solr.search.grouping.distributed.shardresultserializer with parameters of type SchemaField | |
---|---|
protected NamedList |
TopGroupsResultTransformer.serializeTopGroups(TopGroups<BytesRef> data,
SchemaField groupField)
|
Uses of SchemaField in org.apache.solr.update |
---|
Fields in org.apache.solr.update declared as SchemaField | |
---|---|
protected SchemaField |
UpdateHandler.idField
|
Methods in org.apache.solr.update that return SchemaField | |
---|---|
static SchemaField |
VersionInfo.getAndCheckVersionField(IndexSchema schema)
Gets and returns the VersionInfo.VERSION_FIELD from the specified
schema, after verifying that it is indexed, stored, and single-valued. |
SchemaField |
VersionInfo.getVersionField()
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |