Skip to content

Search: document dynamic attributes in index definitions #153#154

Open
fractal3000 wants to merge 1 commit into
release_3from
feature/153-document-dynamic-attributes-in-index-definitions
Open

Search: document dynamic attributes in index definitions #153#154
fractal3000 wants to merge 1 commit into
release_3from
feature/153-document-dynamic-attributes-in-index-definitions

Conversation

@fractal3000

Copy link
Copy Markdown
Contributor

#153

Changes
- search/index-definitions.adoc
- mention @DynamicAttributes alongside @AutoMappedField in the index-definition method rules;
- add a short Dynamic Attributes section linking to Dynamic Attributes in Search;
- add a note on addDynamicAttributesGroup() in Programmatic Mapping;
- document native field configuration (withFieldConfiguration: per-field analyzer / boost) by folding the previously parked example into the existing programmatic-mapping example.

  • search-ex1/CustomerIndexDefinition.java — example updated accordingly (one valid @ManualMappingDefinition method).

Related

…tive field config #829

- index-definitions.adoc: mention @DynamicAttributes alongside @AutoMappedField; add a
  "Dynamic Attributes" section and a note on addDynamicAttributesGroup(); document native
  field configuration in the programmatic-mapping example (withFieldConfiguration: per-field
  analyzer / boost)
- CustomerIndexDefinition.java: fold the native-config example into the single mapping()
  method (one @ManualMappingDefinition); remove the stale commented text-config method

Verified by running the search-ex1 UserTest on Java 21.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@fractal3000 fractal3000 linked an issue Jun 25, 2026 that may be closed by this pull request
@knstvk knstvk self-assigned this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search: document dynamic attributes in index definitions

2 participants