Annotation Interface DocumentId


Maps a property to the identifier of documents in the index.

This annotation is only taken into account on Indexed types.

  • Element Details

    • identifierBridge

      IdentifierBridgeRef identifierBridge
      Returns:
      A reference to the identifier bridge to use for document IDs. Must not be set if identifierBinder() is set.
      See Also:
      Default:
      @org.hibernate.search.mapper.pojo.bridge.mapping.annotation.IdentifierBridgeRef
    • identifierBinder

      IdentifierBinderRef identifierBinder
      Returns:
      A reference to the identifier binder to use for document IDs. Must not be set if identifierBridge() is set.
      See Also:
      Default:
      @org.hibernate.search.mapper.pojo.bridge.mapping.annotation.IdentifierBinderRef