You can obtain JSON output from Solr instead of HTML response by specifying the "wt" parameter as "json".
For example, if you are using the Solr query URL: "http://localhost:8983/solr/collection/s…", change it to "http://localhost:8983/solr/collection/s…". This will return the response in JSON format.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-01-03 11:00:00 +0000
Seen: 15 times
Last updated: Oct 11 '22