Solr can index, query, and output JSON documents in various ways:
1) Documents can be indexed via Solr JSON, custom JSON, or JSONLines using different endpoints like /update, /update/json, and /update/json/docs. The format impacts how child documents and fields are handled.
2) JSON can be output from search results using parameters like wt=json and indent=true. Bulk export of all documents is also supported.
3) Complex queries can be built using the JSON Request API to specify parameters like query, filter, facets in a nested JSON structure rather than URL parameters.
4) Configuration is now API-driven using endpoints like /schema to manage