Interface MilvusSettings


public interface MilvusSettings
Settings for Hibernate NoSQL Milvus configuration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    A setting to enable the automatic addition of a vector field for Milvus, in case an entity does not have one.
    static final String
    A setting to allow the usage of join tables with Milvus.
  • Field Details

    • JOIN_TABLE_COMPATIBILITY

      static final String JOIN_TABLE_COMPATIBILITY
      A setting to allow the usage of join tables with Milvus.

      Milvus does not support joins and hence, dealing with join tables poses a problem, since that usually requires joins. With this compatibility mode enabled, associations are set to be fetched through separate select statements, allowing to use domain models with join tables at the cost of additional database queries.

      See Also:
      Default Value:
      false
    • ADD_MISSING_VECTOR_FIELD

      static final String ADD_MISSING_VECTOR_FIELD
      A setting to enable the automatic addition of a vector field for Milvus, in case an entity does not have one.

      Milvus requires that every collection (table) contains at least one vector typed field. With this setting enabled, entities that don't specify a vector field receive a dummy field.

      See Also:
      Default Value:
      false