Annotation Interface SearchSettings


@Documented @Target({}) @Retention(RUNTIME) public @interface SearchSettings
Per-node search configuration, independent of activation through Model.searchable(). A node included by a searchable ancestor uses its own collection and timestamp settings.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Canonical node collection.
    Optional property path used as the document's end timestamp.
    boolean
    Whether a searchable scope started at this Model includes composed descendants.
    Optional property path used as the document's start timestamp.
  • Element Details

    • includeDescendants

      boolean includeDescendants
      Whether a searchable scope started at this Model includes composed descendants.

      Defaults to true. Setting this to false limits this Model's own root scope to itself; it does not veto inclusion of this Model in a broader searchable ancestor scope. Descendant traversal still follows only composed parent relationships, and Parent.propagateSearch() may block propagation across individual edges.

      Default:
      true
    • collection

      String collection
      Canonical node collection. Blank retains the stable internal collection derived from the 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:
      ""