Package org.apache.solr.handler.designer
Interface SchemaSuggester
-
- All Superinterfaces:
NamedListInitializedPlugin
- All Known Implementing Classes:
DefaultSchemaSuggester
public interface SchemaSuggester extends NamedListInitializedPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedIndexSchema
adaptExistingFieldToData(SchemaField schemaField, List<Object> sampleValues, ManagedIndexSchema schema)
boolean
isMultiValued(String name, List<org.apache.solr.common.SolrInputDocument> docs)
Optional<SchemaField>
suggestField(String fieldName, List<Object> sampleValues, IndexSchema schema, List<String> langs)
Map<String,List<Object>>
transposeDocs(List<org.apache.solr.common.SolrInputDocument> docs)
void
validateTypeChange(SchemaField field, FieldType toType, List<org.apache.solr.common.SolrInputDocument> docs)
-
Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
-
-
-
Method Detail
-
suggestField
Optional<SchemaField> suggestField(String fieldName, List<Object> sampleValues, IndexSchema schema, List<String> langs)
-
adaptExistingFieldToData
ManagedIndexSchema adaptExistingFieldToData(SchemaField schemaField, List<Object> sampleValues, ManagedIndexSchema schema)
-
transposeDocs
Map<String,List<Object>> transposeDocs(List<org.apache.solr.common.SolrInputDocument> docs)
-
validateTypeChange
void validateTypeChange(SchemaField field, FieldType toType, List<org.apache.solr.common.SolrInputDocument> docs) throws IOException
- Throws:
IOException
-
-