Uses of Class
org.apache.solr.schema.SchemaField

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)
          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)
           
 

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 TrieField.checkSchemaField(SchemaField field)
           
 void FieldType.checkSchemaField(SchemaField field)
          Check's SchemaField instances constructed using this field type to ensure that they are valid.
 void TrieDateField.checkSchemaField(SchemaField field)
           
 void CurrencyField.checkSchemaField(SchemaField field)
           
 void StrField.checkSchemaField(SchemaField field)
           
 IndexableField TrieField.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 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 TrieDateField.createField(SchemaField field, Object value, float boost)
           
 IndexableField DateField.createField(SchemaField field, Object value, float boost)
          Deprecated.  
 IndexableField LatLonType.createField(SchemaField field, Object value, float boost)
           
 Field AbstractSpatialFieldType.createField(SchemaField field, Object val, float boost)
           
 IndexableField PreAnalyzedField.createField(SchemaField field, Object value, float boost)
           
 IndexableField BinaryField.createField(SchemaField field, Object val, float boost)
           
 List<IndexableField> TrieField.createFields(SchemaField sf, 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> PointType.createFields(SchemaField field, Object value, float boost)
           
 List<IndexableField> TrieDateField.createFields(SchemaField field, Object value, float boost)
           
 List<IndexableField> CurrencyField.createFields(SchemaField field, Object externalVal, float boost)
           
 List<IndexableField> StrField.createFields(SchemaField field, Object value, float boost)
           
 List<IndexableField> LatLonType.createFields(SchemaField field, Object value, float boost)
           
 List<IndexableField> AbstractSpatialFieldType.createFields(SchemaField field, Object val, 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 TrieField.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 AbstractSubTypeFieldType.getFieldQuery(QParser parser, SchemaField field, String externalVal)
          Throws UnsupportedOperationException()
 Query PointType.getFieldQuery(QParser parser, SchemaField field, String externalVal)
           
 Query CurrencyField.getFieldQuery(QParser parser, SchemaField field, String externalVal)
           
 Query LatLonType.getFieldQuery(QParser parser, SchemaField field, String externalVal)
           
 Query AbstractSpatialFieldType.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 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 CollationField.getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive)
           
 Query TrieField.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 PointType.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 CurrencyField.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)
           
 Query AbstractSpatialFieldType.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)
           
 MultiTermQuery.RewriteMethod FieldType.getRewriteMethod(QParser parser, SchemaField field)
          Expert: Returns the rewrite method for multiterm queries such as wildcards.
 SortField LongField.getSortField(SchemaField field, boolean reverse)
           
 SortField CollationField.getSortField(SchemaField field, boolean top)
           
 SortField BCDIntField.getSortField(SchemaField field, boolean reverse)
           
 SortField TrieField.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 PointType.getSortField(SchemaField field, boolean top)
           
 SortField GeoHashField.getSortField(SchemaField field, boolean top)
           
 SortField TrieDateField.getSortField(SchemaField field, boolean top)
           
 SortField CurrencyField.getSortField(SchemaField field, boolean reverse)
           
 SortField SortableFloatField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField StrField.getSortField(SchemaField field, boolean reverse)
           
 SortField RandomSortField.getSortField(SchemaField field, boolean reverse)
           
 SortField BoolField.getSortField(SchemaField field, boolean reverse)
           
 SortField SortableDoubleField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField UUIDField.getSortField(SchemaField field, boolean reverse)
           
 SortField ExternalFileField.getSortField(SchemaField field, boolean reverse)
           
 SortField IntField.getSortField(SchemaField field, boolean reverse)
           
 SortField DateField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField LatLonType.getSortField(SchemaField field, boolean top)
           
 SortField ByteField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField ShortField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField DoubleField.getSortField(SchemaField field, boolean reverse)
           
 SortField SortableLongField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
 SortField AbstractSpatialFieldType.getSortField(SchemaField field, boolean top)
           
 SortField FloatField.getSortField(SchemaField field, boolean reverse)
           
 SortField PreAnalyzedField.getSortField(SchemaField field, boolean top)
           
 SortField BinaryField.getSortField(SchemaField field, boolean top)
           
 SortField TextField.getSortField(SchemaField field, boolean reverse)
           
 SortField SortableIntField.getSortField(SchemaField field, boolean reverse)
          Deprecated.  
protected  SortField FieldType.getStringSort(SchemaField field, boolean reverse)
          Utility usable by subclasses when they want to get basic String sorting using common checks.
 ValueSource LongField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource BCDIntField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource TrieField.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 PointType.getValueSource(SchemaField field, QParser parser)
           
 ValueSource GeoHashField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource TrieDateField.getValueSource(SchemaField field, QParser parser)
           
 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 SortableFloatField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource StrField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource RandomSortField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource BoolField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableDoubleField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource ExternalFileField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource IntField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource DateField.getValueSource(SchemaField field, QParser parser)
          Deprecated.  
 ValueSource LatLonType.getValueSource(SchemaField field, QParser parser)
           
 ValueSource ByteField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource ShortField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource DoubleField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableLongField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource AbstractSpatialFieldType.getValueSource(SchemaField field, QParser parser)
           
 ValueSource FloatField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableIntField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 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 TrieField.toObject(SchemaField sf, BytesRef term)
           
 Object FieldType.toObject(SchemaField sf, BytesRef term)
           
 Object TrieDateField.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)
           
 

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
           
 

Constructors in org.apache.solr.search with parameters of type SchemaField
SpatialOptions(String pointStr, double dist, SchemaField sf, String measStr, double radius)
           
 

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
 TopGroupsFieldCommand.Builder TopGroupsFieldCommand.Builder.setField(SchemaField field)
           
 SearchGroupsFieldCommand.Builder SearchGroupsFieldCommand.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()
           
 



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.