Ask Your Question
3

How can I obtain JSON output from Solr instead of HTML response?

asked 2023-01-03 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2022-10-11 16:00:00 +0000

djk gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2023-01-03 11:00:00 +0000

Seen: 15 times

Last updated: Oct 11 '22