Re: API Docs Output Snippet Formats

2017-10-24 Thread Jason Gerlowski
I've uploaded a patch adding the necessary "wt" parameter to the output snippets. I agree that aligning all of our API snippets on the default output format is a better solution, but this serves as a reasonable stop-gap until I'm (or someone else is) able to put that together. On Mon, Oct 23,

Re: API Docs Output Snippet Formats

2017-10-23 Thread Jason Gerlowski
Thanks for the feedback (and context/history) guys. I've created SOLR-11530 (https://issues.apache.org/jira/browse/SOLR-11530) to keep track of this. You're right Cassandra, switching the snippets over to JSON will probably take a bit of time. I'm going to give it a shot this evening, in case

Re: API Docs Output Snippet Formats

2017-10-23 Thread Cassandra Targett
I did a pass through the Ref Guide for SOLR-10494 and noted there [1] that I neglected to look for places where the output was XML but the sample request did not include "wt=xml". My intent was to look for those later, but then I forgot. It's likely easier to find where the request is missing

Re: API Docs Output Snippet Formats

2017-10-22 Thread Varun Thacker
I'd prefer 1> On Sun, Oct 22, 2017 at 7:39 PM, Jason Gerlowski wrote: > Hey all, > > Was doing some poking around the ref-guide this weekend. I noticed > that the output snippets given with the API documentation is split > about 50/50 between xml and json. Few of the

API Docs Output Snippet Formats

2017-10-22 Thread Jason Gerlowski
Hey all, Was doing some poking around the ref-guide this weekend. I noticed that the output snippets given with the API documentation is split about 50/50 between xml and json. Few of the examples contain an explicit "wt" parameter. With the default "wt" format switching to json in 7.0, this