oscerd opened a new pull request, #23208: URL: https://github.com/apache/camel/pull/23208
## Summary Aligns the values of the Exchange header constants exposed by `LuceneConstants` with the standard Camel `CamelLucene*` naming convention. * `LuceneConstants.HEADER_QUERY`: `QUERY` -> `CamelLuceneQuery` * `LuceneConstants.HEADER_RETURN_LUCENE_DOCS`: `RETURN_LUCENE_DOCS` -> `CamelLuceneReturnLuceneDocs` The field names (`HEADER_QUERY`, `HEADER_RETURN_LUCENE_DOCS`) are unchanged, so routes that reference the constants continue to work without modification. Routes that set or read these headers using the raw string values must be updated. As a consequence of the value rename, the auto-generated Endpoint DSL header accessors on `LuceneHeaderNameBuilder` are also renamed: * `qUERY()` -> `luceneQuery()` * `returnLuceneDocs()` -> `luceneReturnLuceneDocs()` An entry has been added to the 4.21 upgrade guide. ## Changes * `components/camel-lucene/.../LuceneConstants.java` — header value rename * `components/camel-lucene/src/main/docs/lucene-component.adoc` — text reference update * Regenerated `lucene.json` (component metadata + catalog mirror) and `LuceneEndpointBuilderFactory.java` * `docs/user-manual/.../camel-4x-upgrade-guide-4_21.adoc` — upgrade-guide entry ## Test plan - [x] `mvn verify` in `components/camel-lucene` (6 tests pass) - [x] Full reactor `mvn clean install -DskipTests` from repo root succeeds, all regen artifacts committed JIRA: https://issues.apache.org/jira/browse/CAMEL-23509 _Claude Code on behalf of Andrea Cosentino_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
