Class SchemaRequest.ReplaceDynamicField

  • All Implemented Interfaces:
    Enclosing class:

    public static class SchemaRequest.ReplaceDynamicField
    extends SchemaRequest.Update
    Replaces a dynamic field rule in the schema of the specified collection. Note that the full definition for a dynamic field rule must be supplied - this command will not partially modify a dynamic field rule's definition. If the dynamic field rule does not exist in the schema the method call SolrRequest.process(SolrClient, String) will fail.
    See Also:
    Serialized Form
    • Constructor Detail

      • ReplaceDynamicField

        public ReplaceDynamicField​(Map<String,​Object> dynamicFieldAttributes)
        Creates a new instance of the request.
        dynamicFieldAttributes - field type attributes that can be used to enrich the field definition.
        See Also:
        Defining Solr fields, Solr dynamic fields