Skip to content

SOLR-18462: Feature JSON before XML in indexing-with-update-handlers - #4926

Open
serhiy-bzhezytskyy wants to merge 1 commit into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18462-json-before-xml
Open

serhiy-bzhezytskyy wants to merge 1 commit into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18462-json-before-xml

Conversation

@serhiy-bzhezytskyy

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18462

Description

"Our docs should be featuring JSON then XML, not XML then JSON." Checked every page with both a JSON and an XML section or tab: the 5 existing JSON::/XML:: tab examples (in indexing-nested-documents.adoc and dense-vector-search.adoc) already put JSON first. One page didn't: indexing-with-update-handlers.adoc covers "XML Formatted Index Updates" as a whole top-level section before "JSON Formatted Index Updates", with "CSV Formatted Index Updates" last.

Solution

Moved the JSON section ahead of the XML section (CSV stays last). No content was changed, only relocated — the diff is exactly 150 insertions and 150 deletions. Checked first that neither section contains order-dependent prose ("as we saw above", "the following section", etc.) that would break across the move; found none. xref anchors are heading-derived, not position-derived, so no cross-reference elsewhere in the guide is affected.

Tests

Ran ./gradlew :solr:solr-ref-guide:buildLocalAntoraSite and :checkSiteLinks before and after: same 6 pre-existing warnings (unrelated, tracked in #4922/SOLR-18464), no new ones, no broken links.

AI-assisted (Claude Sonnet 5).

The page covered XML Formatted Index Updates before JSON Formatted Index Updates, despite JSON being the more common choice today. Moved the JSON section ahead of XML, leaving CSV last; no content was changed, only reordered.
@serhiy-bzhezytskyy

Copy link
Copy Markdown
Contributor Author

@epugh tagging you since this is under SOLR-18459/SOLR-18462, which you filed.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant