Uses of Class
org.apache.solr.schema.IndexSchema
-
Packages that use IndexSchema Package Description org.apache.solr.core Core classes implementing Solr internals and the management ofSolrCoresorg.apache.solr.handler Concrete implementations ofSolrRequestHandlerorg.apache.solr.handler.admin.api V2 API implementations for "admin" APIs.org.apache.solr.handler.component SearchComponentimplementations for use inSearchHandlerorg.apache.solr.handler.designer TheSchemaDesignerAPIand supporting classes.org.apache.solr.highlight SolrHighlighterAPI and related implementations and utilitiesorg.apache.solr.index Indexing related classes.org.apache.solr.jersey Jersey integration codeorg.apache.solr.parser Solr native variant of the Lucene Classic QueryParserorg.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.response API and implementations ofQueryResponseWriterfor formatting Solr request responsesorg.apache.solr.rest Solr RESTful APIs.org.apache.solr.schema IndexSchemaandFieldTypeimplementations for powering schema.xmlorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.grouping.distributed.shardresultserializer Internal classes used to implement distributed result groupingorg.apache.solr.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactoryAPIs and implementations for use inUpdateRequestProcessorChainsorg.apache.solr.util Common utility classes used throughout Solr -
-
Uses of IndexSchema in org.apache.solr.core
Methods in org.apache.solr.core that return IndexSchema Modifier and Type Method Description protected IndexSchemaConfigSetService. createIndexSchema(CoreDescriptor cd, SolrConfig solrConfig, boolean forceFetch)Create an IndexSchema object for a core.IndexSchemaConfigSet. getIndexSchema()IndexSchemaConfigSet. getIndexSchema(boolean forceFetch)IndexSchemaSolrCore. getLatestSchema()Methods in org.apache.solr.core with parameters of type IndexSchema Modifier and Type Method Description voidSolrCore. setLatestSchema(IndexSchema replacementSchema)Sets the latest schema snapshot to be used by this core instance. -
Uses of IndexSchema in org.apache.solr.handler
Methods in org.apache.solr.handler with parameters of type IndexSchema Modifier and Type Method Description protected org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList>FieldAnalysisRequestHandler. handleAnalysisRequest(org.apache.solr.client.solrj.request.FieldAnalysisRequest request, IndexSchema schema)Handles the resolved analysis request and returns the analysis breakdown response as a named list. -
Uses of IndexSchema in org.apache.solr.handler.admin.api
Fields in org.apache.solr.handler.admin.api declared as IndexSchema Modifier and Type Field Description protected IndexSchemaGetSchemaAPI. indexSchemaConstructors in org.apache.solr.handler.admin.api with parameters of type IndexSchema Constructor Description GetSchemaAPI(IndexSchema indexSchema)GetSchemaFieldAPI(IndexSchema indexSchema, org.apache.solr.common.params.SolrParams params) -
Uses of IndexSchema in org.apache.solr.handler.component
Methods in org.apache.solr.handler.component with parameters of type IndexSchema Modifier and Type Method Description protected voidResponseLogComponent. processIds(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)protected voidResponseLogComponent. processScores(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)static org.apache.solr.common.SolrDocumentRealTimeGetComponent. toSolrDoc(org.apache.solr.common.SolrInputDocument sdoc, IndexSchema schema)Converts a SolrInputDocument to SolrDocument, using an IndexSchema instance.static org.apache.solr.common.SolrDocumentRealTimeGetComponent. toSolrDoc(org.apache.solr.common.SolrInputDocument sdoc, IndexSchema schema, boolean forInPlaceUpdate)Converts a SolrInputDocument to SolrDocument, using an IndexSchema instance.protected org.apache.solr.common.util.NamedList<List<Object>>QueryComponent. unmarshalSortValues(SortSpec sortSpec, org.apache.solr.common.util.NamedList<List<Object>> sortFieldValues, IndexSchema schema) -
Uses of IndexSchema in org.apache.solr.handler.designer
Methods in org.apache.solr.handler.designer with parameters of type IndexSchema Modifier and Type Method Description protected Map<String,String>DefaultSchemaSuggester. guessFieldProps(String fieldName, FieldType fieldType, List<Object> sampleValues, boolean isMV, IndexSchema schema)protected StringDefaultSchemaSuggester. guessFieldType(String fieldName, List<Object> sampleValues, IndexSchema schema, boolean isMV, Locale locale)Optional<SchemaField>DefaultSchemaSuggester. suggestField(String fieldName, List<Object> sampleValues, IndexSchema schema, List<String> langs)Optional<SchemaField>SchemaSuggester. suggestField(String fieldName, List<Object> sampleValues, IndexSchema schema, List<String> langs) -
Uses of IndexSchema in org.apache.solr.highlight
Fields in org.apache.solr.highlight declared as IndexSchema Modifier and Type Field Description protected IndexSchemaUnifiedSolrHighlighter.SolrExtendedUnifiedHighlighter. schema -
Uses of IndexSchema in org.apache.solr.index
Fields in org.apache.solr.index declared as IndexSchema Modifier and Type Field Description protected IndexSchemaMergePolicyFactory. schema -
Uses of IndexSchema in org.apache.solr.jersey
Methods in org.apache.solr.jersey that return IndexSchema Modifier and Type Method Description IndexSchemaInjectionFactories.ReuseFromContextIndexSchemaFactory. provide()Methods in org.apache.solr.jersey with parameters of type IndexSchema Modifier and Type Method Description voidInjectionFactories.ReuseFromContextIndexSchemaFactory. dispose(IndexSchema instance) -
Uses of IndexSchema in org.apache.solr.parser
Fields in org.apache.solr.parser declared as IndexSchema Modifier and Type Field Description protected IndexSchemaSolrQueryParserBase. schema -
Uses of IndexSchema in org.apache.solr.request
Fields in org.apache.solr.request declared as IndexSchema Modifier and Type Field Description protected IndexSchemaSolrQueryRequestBase. schemaMethods in org.apache.solr.request that return IndexSchema Modifier and Type Method Description IndexSchemaDelegatingSolrQueryRequest. getSchema()IndexSchemaSolrQueryRequest. getSchema()The schema snapshot from core.getLatestSchema() at request creation.IndexSchemaSolrQueryRequestBase. getSchema() -
Uses of IndexSchema in org.apache.solr.response
Fields in org.apache.solr.response declared as IndexSchema Modifier and Type Field Description protected IndexSchemaBinaryResponseWriter.Resolver. schemaprotected IndexSchemaTextResponseWriter. schemaMethods in org.apache.solr.response with parameters of type IndexSchema Modifier and Type Method Description static org.apache.solr.common.SolrDocumentDocsStreamer. convertLuceneDocToSolrDoc(org.apache.lucene.document.Document doc, IndexSchema schema)Deprecated.use the 3 arg version for better performancestatic org.apache.solr.common.SolrDocumentDocsStreamer. convertLuceneDocToSolrDoc(org.apache.lucene.document.Document doc, IndexSchema schema, ReturnFields fields)Converts the specifiedDocumentinto aSolrDocument. -
Uses of IndexSchema in org.apache.solr.rest
Methods in org.apache.solr.rest that return IndexSchema Modifier and Type Method Description IndexSchemaBaseSolrResource. getSchema() -
Uses of IndexSchema in org.apache.solr.schema
Subclasses of IndexSchema in org.apache.solr.schema Modifier and Type Class Description classManagedIndexSchemaSolr-managed schema - non-user-editable, but can be mutable via internal and external REST API requests.Fields in org.apache.solr.schema declared as IndexSchema Modifier and Type Field Description protected IndexSchemaAbstractSubTypeFieldType. schemaprotected IndexSchemaCurrencyFieldType. schemaMethods in org.apache.solr.schema that return IndexSchema Modifier and Type Method Description IndexSchemaIndexSchema. addCopyFields(String source, Collection<String> destinations, int maxChars)Copies this schema and adds the new copy fields to the copy.IndexSchemaIndexSchema. addCopyFields(Map<String,Collection<String>> copyFields, boolean persist)Copies this schema and adds the new copy fields to the copy Requires synchronizing on the object returned bygetSchemaUpdateLock().IndexSchemaIndexSchema. 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 bygetSchemaUpdateLock().IndexSchemaIndexSchema. addField(SchemaField newField)IndexSchemaIndexSchema. addField(SchemaField newField, boolean persist)Copies this schema, adds the given field to the copy Requires synchronizing on the object returned bygetSchemaUpdateLock().IndexSchemaIndexSchema. addField(SchemaField newField, Collection<String> copyFieldNames)Copies this schema, adds the given field to the copy Requires synchronizing on the object returned bygetSchemaUpdateLock().IndexSchemaIndexSchema. addFields(Collection<SchemaField> newFields)Copies this schema, adds the given fields to the copy.IndexSchemaIndexSchema. 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 bygetSchemaUpdateLock().IndexSchemaIndexSchema. addFieldTypes(List<FieldType> fieldTypeList, boolean persist)Copies this schema, adds the given field type to the copy, Requires synchronizing on the object returned bygetSchemaUpdateLock().static IndexSchemaIndexSchemaFactory. buildIndexSchema(String resourceName, SolrConfig config)static IndexSchemaIndexSchemaFactory. buildIndexSchema(String resourceName, SolrConfig config, ConfigSetService configSetService)Instantiates the configured schema factory, then calls create on it.IndexSchemaIndexSchemaFactory. create(String resourceName, SolrConfig config, ConfigSetService configSetService)Returns an index schema created from a local resource.IndexSchemaIndexSchema. deleteCopyFields(Map<String,Collection<String>> copyFields)Copies this schema and deletes the given copy fields from the copy.IndexSchemaIndexSchema. deleteDynamicFields(Collection<String> fieldNamePatterns)Copies this schema, deletes the named dynamic fields from the copy.IndexSchemaIndexSchema. deleteFields(Collection<String> names)Copies this schema, deletes the named fields from the copy.IndexSchemaIndexSchema. deleteFieldTypes(Collection<String> names)Copies this schema, deletes the named field types from the copy.IndexSchemaIndexSchema. replaceField(String fieldName, FieldType replacementFieldType, Map<String,?> replacementArgs)Copies this schema, deletes the named field from the copy, creates a new field with the same name using the given args, then rebinds any referring copy fields to the replacement field.IndexSchemaIndexSchema. replaceFieldType(String typeName, String replacementClassName, Map<String,Object> replacementArgs)Copies this schema, deletes the named field type from the copy, creates a new field type with the same name using the given args, rebuilds fields and dynamic fields of the given type, then rebinds any referring copy fields to the rebuilt fields.Methods in org.apache.solr.schema with parameters of type IndexSchema Modifier and Type Method Description voidExternalFileFieldReloader. cacheFieldSources(IndexSchema schema)Caches FileFloatSource's from all ExternalFileField instances in the schemavoidAbstractSubTypeFieldType. inform(IndexSchema schema)Registers the polyfield dynamic prototype for this field type: : "*___(field type name)"voidBBoxField. inform(IndexSchema schema)voidCurrencyField. inform(IndexSchema schema)Deprecated.When index schema is informed, add dynamic fields "*____currency" and "*____amount_raw".voidCurrencyFieldType. inform(IndexSchema schema)When index schema is informed, get field types for the configured dynamic sub-fieldsvoidExternalFileField. inform(IndexSchema schema)voidLatLonPointSpatialField. inform(IndexSchema schema)voidSchemaAware. inform(IndexSchema schema)Informs theIndexSchemaprovided by theschemaparameter of an event (e.g., a newFieldTypewas added, etc.protected voidAbstractEnumField. init(IndexSchema schema, Map<String,String> args)protected voidAbstractSpatialFieldType. init(IndexSchema schema, Map<String,String> args)protected voidAbstractSpatialPrefixTreeFieldType. init(IndexSchema schema, Map<String,String> args)protected voidAbstractSubTypeFieldType. init(IndexSchema schema, Map<String,String> args)protected voidBBoxField. init(IndexSchema schema, Map<String,String> args)protected voidCollationField. init(IndexSchema schema, Map<String,String> args)protected voidCurrencyField. init(IndexSchema schema, Map<String,String> args)Deprecated.protected voidCurrencyFieldType. init(IndexSchema schema, Map<String,String> args)protected voidDateRangeField. init(IndexSchema schema, Map<String,String> args)voidDenseVectorField. init(IndexSchema schema, Map<String,String> args)protected voidExternalFileField. init(IndexSchema schema, Map<String,String> args)protected voidFieldType. init(IndexSchema schema, Map<String,String> args)subclasses should initialize themselves with the args provided and remove valid arguments.protected voidPointField. init(IndexSchema schema, Map<String,String> args)NOTE: This method can be removed completely whenPointField.TEST_HACK_IGNORE_USELESS_TRIEFIELD_ARGSis removedprotected voidPointType. init(IndexSchema schema, Map<String,String> args)voidPreAnalyzedField. init(IndexSchema schema, Map<String,String> args)protected voidPrimitiveFieldType. init(IndexSchema schema, Map<String,String> args)protected voidRankField. init(IndexSchema schema, Map<String,String> args)protected voidRptWithGeometrySpatialField. init(IndexSchema schema, Map<String,String> args)protected voidSortableTextField. init(IndexSchema schema, Map<String,String> args)protected voidSpatialRecursivePrefixTreeFieldType. init(IndexSchema schema, Map<String,String> args)protected voidStrField. init(IndexSchema schema, Map<String,String> args)protected voidTextField. init(IndexSchema schema, Map<String,String> args)protected voidTrieField. init(IndexSchema schema, Map<String,String> args)Deprecated.protected voidUUIDField. init(IndexSchema schema, Map<String,String> args)voidAbstractSpatialPrefixTreeFieldType. setArgs(IndexSchema schema, Map<String,String> args)protected voidFieldType. setArgs(IndexSchema schema, Map<String,String> args)Initializes the field type.voidNestPathField. setArgs(IndexSchema schema, Map<String,String> args)protected SchemaFieldAbstractSubTypeFieldType. subField(SchemaField base, int i, IndexSchema schema)Constructors in org.apache.solr.schema with parameters of type IndexSchema Constructor Description EnumMapping(IndexSchema schema, FieldType fieldType, Map<String,String> args)Takes in a FieldType and the initArgs Map used for that type, removing the keys that specify the enum.FieldTypePluginLoader(IndexSchema schema, Map<String,FieldType> fieldTypes, Collection<SchemaAware> schemaAware) -
Uses of IndexSchema in org.apache.solr.search
Fields in org.apache.solr.search declared as IndexSchema Modifier and Type Field Description protected IndexSchemaExtendedDismaxQParser.ExtendedDismaxConfiguration. schemaMethods in org.apache.solr.search that return IndexSchema Modifier and Type Method Description IndexSchemaSolrIndexSearcher. getSchema()Direct access to the IndexSchema for use with this searcherMethods in org.apache.solr.search with parameters of type IndexSchema Modifier and Type Method Description static StringDisMaxQParser. parseMinShouldMatch(IndexSchema schema, org.apache.solr.common.params.SolrParams params)Applies the appropriate default rules for the "mm" param based on the effective value of the "q.op" paramstatic Map<String,Float>DisMaxQParser. parseQueryFields(IndexSchema indexSchema, org.apache.solr.common.params.SolrParams solrParams)UsesSolrPluginUtils.parseFieldBoosts(String)with the 'qf' parameter.static SortSpecSortSpecParsing. parseSortSpec(String sortSpec, IndexSchema schema)The form of the (function free) sort specification string currently parsed is:static List<String>QueryParsing. toString(List<org.apache.lucene.search.Query> queries, IndexSchema schema)Builds a list of String which are stringified versions of a list of Queriesstatic StringQueryParsing. toString(org.apache.lucene.search.Query query, IndexSchema schema)Formats a Query for debugging, using the IndexSchema to make complex field types readable.static voidQueryParsing. toString(org.apache.lucene.search.Query query, IndexSchema schema, Appendable out, int flags)Constructors in org.apache.solr.search with parameters of type IndexSchema Constructor Description CursorMark(IndexSchema schema, SortSpec sortSpec)Generates an empty CursorMark bound for use with the specified schema andSortSpec.SolrIndexSearcher(SolrCore core, String path, IndexSchema schema, String name, org.apache.lucene.index.DirectoryReader r, boolean closeReader, boolean enableCache, boolean reserveDirectory, DirectoryFactory directoryFactory)SolrIndexSearcher(SolrCore core, String path, IndexSchema schema, SolrIndexConfig config, String name, boolean enableCache, DirectoryFactory directoryFactory) -
Uses of IndexSchema in org.apache.solr.search.grouping.distributed.shardresultserializer
Methods in org.apache.solr.search.grouping.distributed.shardresultserializer with parameters of type IndexSchema Modifier and Type Method Description protected org.apache.lucene.search.ScoreDoc[]TopGroupsResultTransformer. transformToNativeShardDoc(List<org.apache.solr.common.util.NamedList<Object>> documents, org.apache.lucene.search.Sort groupSort, String shard, IndexSchema schema) -
Uses of IndexSchema in org.apache.solr.update
Methods in org.apache.solr.update with parameters of type IndexSchema Modifier and Type Method Description static SolrIndexWriterSolrIndexWriter. create(SolrCore core, String name, String path, DirectoryFactory directoryFactory, boolean create, IndexSchema schema, SolrIndexConfig config, org.apache.lucene.index.IndexDeletionPolicy delPolicy, org.apache.lucene.codecs.Codec codec)static SchemaFieldVersionInfo. getAndCheckVersionField(IndexSchema schema)Gets and returns theCommonParams.VERSION_FIELDfrom the specified schema, after verifying that it is indexed, stored, and single-valued.static org.apache.lucene.document.DocumentDocumentBuilder. toDocument(org.apache.solr.common.SolrInputDocument doc, IndexSchema schema)static org.apache.lucene.document.DocumentDocumentBuilder. toDocument(org.apache.solr.common.SolrInputDocument doc, IndexSchema schema, boolean forInPlaceUpdate, boolean ignoreNestedDocs)Convert a SolrInputDocument to a lucene Document. -
Uses of IndexSchema in org.apache.solr.update.processor
Fields in org.apache.solr.update.processor declared as IndexSchema Modifier and Type Field Description protected IndexSchemaAtomicUpdateDocumentMerger. schemaMethods in org.apache.solr.update.processor with parameters of type IndexSchema Modifier and Type Method Description protected booleanDocBasedVersionConstraintsProcessorFactory. canCreateTombstoneDocument(IndexSchema schema)Validates that the schema would allow tombstones to be created by DocBasedVersionConstraintsProcessor by checking if the required fields are of known typesstatic FieldMutatingUpdateProcessor.FieldNameSelectorFieldMutatingUpdateProcessor. createFieldNameSelector(SolrResourceLoader loader, IndexSchema schema, FieldMutatingUpdateProcessorFactory.SelectorParams params, FieldMutatingUpdateProcessor.FieldNameSelector defSelector)Utility method that can be used to define a FieldNameSelector using the same types of rules as the FieldMutatingUpdateProcessor init code.protected org.apache.solr.common.SolrInputDocumentDocBasedVersionConstraintsProcessor. createTombstoneDocument(IndexSchema schema, String id, String[] versionFieldNames, String[] deleteParamValues, org.apache.solr.common.util.NamedList<Object> tombstoneConfig)Creates a tombstone document, that will be used to update a document that's being deleted by ID. -
Uses of IndexSchema in org.apache.solr.util
Methods in org.apache.solr.util with parameters of type IndexSchema Modifier and Type Method Description static org.apache.solr.common.util.NamedList<org.apache.lucene.search.Explanation>SolrPluginUtils. getExplanations(org.apache.lucene.search.Query query, DocList docs, SolrIndexSearcher searcher, IndexSchema schema)Generates an NamedList of Explanations for each item in a list of docs.
-