Annotation Interface DocumentProjection


@Documented @Target({}) @Retention(RUNTIME) public @interface DocumentProjection
Configures the independent public document projection maintained by a Model whose persistence stores a document.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Collection receiving current Model documents.
    Optional property path used as the document's end timestamp.
    boolean
    Whether this current document is exposed through the Model's public search collection.
    Optional property path used as the document's start timestamp.
  • Element Details

    • searchable

      boolean searchable
      Whether this current document is exposed through the Model's public search collection.

      When false, Fluxzero does not expose the document through an unrestricted typed Model search. The direct document remains in its normal resolved collection, without a text summary, facets or sortable indexes, and is retrievable through exact parent or ancestor relationships. Model loads and verified current-state reads use a separate internal source. A Model that participates in Graph composition still maintains its independently required internal component indexes; use @SearchExclude, @Facet and @Sortable to shape those indexes explicitly.

      Default:
      true
    • collection

      String collection
      Collection receiving current Model documents. Blank defaults to the resolved logical Model name.
      Default:
      ""
    • timestampPath

      String timestampPath
      Optional property path used as the document's start timestamp.
      Default:
      ""
    • endPath

      String endPath
      Optional property path used as the document's end timestamp.
      Default:
      ""