Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Indexing Behavior

Behavior Grooper.GPT

Enables AI-powered search indexing capabilities for a Content Type.

Remarks

This behavior is used to configure and manage search indexing on a Content Type in Grooper, enabling both keyword and semantic (vector-based) document retrieval.

Once added, this behavior enables search functionality for this content type, allowing documents of this type to be discoverable from the Search Page.

Setup and Workflow

  1. Add and IndexingBehavior to a Content Type.
  2. Ensure an AI Search option is configured at the repository root.
  3. Use the Content Type - Create Search Index command to generate the index.
  4. Add documents to the index using the Batch Folder - Add To Index command or configure AutoIndex.

Configuration Highlights

  • Name: The unique, lowercase identifier for the search index.
  • IncludedElements: Specifies which Data Elements should be indexed.
  • BuiltInFields: Enables indexing of standard fields like Content, TypeName, and PageCount.
  • ComputedFields: Allows indexing of custom-calculated values.
  • VectorSearch: Enables semantic retrieval using vector embeddings. Supports both full-document and chunked indexing.
  • Flatten: Flattens nested data models into a flat field structure, provided no collections exist at the root.
  • HtmlBodySelector: Restricts HTML indexing scope (e.g., to a <main> tag).
  • AccessList: Controls which users may query the index via the Search Page.
  • Generators: Lists AI Generators available for use with search results.

Maintenance

  • The UsageStats property reports on current index usage.
  • The class provides helper methods for detecting stale or missing index entries, supporting document refresh or reindex operations.

Vector Retrieval Support

When VectorSearch is enabled, users can perform AI-driven retrieval from the Chat Page or other semantic interfaces. Indexes may be configured to use chunked or full-document vectors.

Notes

  • Field name collisions are detected at validation time if both built-in and data elements have conflicting identifiers.
  • Flatten mode cannot be enabled if collection-type elements are present at the root level of the index.
  • All configurations assume that the backing AI Search connector is operational.

This behavior is essential for enabling powerful AI-assisted document exploration, question answering, and retrieval-augmented generation (RAG) workflows in Grooper.

Properties

NameTypeDescription
General
Options
Search Page Settings

See Also

Notification