Interface SchemaDefinition

All Known Implementing Classes:
CopyFieldDefinition, DynamicFieldDefinition, FieldDefinition, FieldTypeDefinition

public interface SchemaDefinition
Interface representing a solr schema definition (field, dynamic field, copyField or field type).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    exists(SchemaFields schemaFields)
    Test if the definition is already defined
    org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
    Get the schema request update.
  • Method Details

    • getSchemaUpdate

      org.apache.solr.client.solrj.request.schema.SchemaRequest.Update getSchemaUpdate()
      Get the schema request update.
      Returns:
      The update request
    • exists

      boolean exists(SchemaFields schemaFields)
      Test if the definition is already defined
      Parameters:
      schemaFields - the existing schema fields
      Returns:
      true if the definition is in the schema fields