Package | Description |
---|---|
org.apache.solr.schema |
IndexSchema and FieldType implementations for powering schema.xml |
Modifier and Type | Method and Description |
---|---|
ManagedIndexSchema |
ManagedIndexSchema.addCopyFields(Map<String,Collection<String>> copyFields,
boolean persist) |
ManagedIndexSchema |
ManagedIndexSchema.addCopyFields(String source,
Collection<String> destinations,
int maxChars) |
ManagedIndexSchema |
ManagedIndexSchema.addDynamicFields(Collection<SchemaField> newDynamicFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist) |
ManagedIndexSchema |
ManagedIndexSchema.addFields(Collection<SchemaField> newFields,
Map<String,Collection<String>> copyFieldNames,
boolean persist) |
ManagedIndexSchema |
ManagedIndexSchema.addFieldTypes(List<FieldType> fieldTypeList,
boolean persist) |
ManagedIndexSchema |
ManagedIndexSchemaFactory.create(String resourceName,
SolrConfig config)
First, try to locate the managed schema file named in the managedSchemaResourceName
param.
|
ManagedIndexSchema |
ManagedIndexSchema.deleteCopyFields(Map<String,Collection<String>> copyFields) |
ManagedIndexSchema |
ManagedIndexSchema.deleteDynamicFields(Collection<String> fieldNamePatterns) |
ManagedIndexSchema |
ManagedIndexSchema.deleteFields(Collection<String> names) |
ManagedIndexSchema |
ManagedIndexSchema.deleteFieldTypes(Collection<String> names) |
static ManagedIndexSchema |
SchemaManager.getFreshManagedSchema(SolrCore core) |
ManagedIndexSchema |
ManagedIndexSchemaFactory.getSchema() |
ManagedIndexSchema |
ZkIndexSchemaReader.refreshSchemaFromZk(int expectedZkVersion) |
ManagedIndexSchema |
ManagedIndexSchema.replaceDynamicField(String fieldNamePattern,
FieldType replacementFieldType,
Map<String,?> replacementArgs) |
ManagedIndexSchema |
IndexSchema.replaceDynamicField(String fieldNamePattern,
FieldType replacementFieldType,
Map<String,?> replacementArgs)
Copies this schema, deletes the named dynamic field from the copy, creates a new dynamic
field with the same field name pattern using the given args, then rebinds any referring
dynamic copy fields to the replacement dynamic field.
|
ManagedIndexSchema |
ManagedIndexSchema.replaceField(String fieldName,
FieldType replacementFieldType,
Map<String,?> replacementArgs) |
ManagedIndexSchema |
ManagedIndexSchema.replaceFieldType(String typeName,
String replacementClassName,
Map<String,Object> replacementArgs) |
Modifier and Type | Method and Description |
---|---|
void |
ManagedIndexSchemaFactory.setSchema(ManagedIndexSchema schema) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.