Annotation Interface GraphProjection


@Documented @Target({}) @Retention(RUNTIME) public @interface GraphProjection
Optional precomputation of a searchable Model's complete Graph. Searchability and descendant scope are owned by Model.searchable() and Model.searchSettings(); these settings alone do not activate search.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Distinct collection receiving materialized Graph documents.
    Whether to store the composed Graph and whether commits wait for it.
    Optional projection-local replacements for canonical relationship paths.
  • Element Details

    • mode

      Whether to store the composed Graph and whether commits wait for it.
      Default:
      NONE
    • collection

      String collection
      Distinct collection receiving materialized Graph documents. Blank derives from the explicitly configured canonical node collection, or from the resolved logical root-model name when no node collection is configured.
      Default:
      ""
    • pathOverrides

      GraphPathOverride[] pathOverrides
      Optional projection-local replacements for canonical relationship paths.
      Default:
      {}