Re: missing in json facet does not work for stream?

2015-10-25 Thread hao jin
Thanks, Yonik. When the shards parameter is specified in a json facet query with the stream method, it is still ordered by the count by default. From our perf. test with totally 100,000,000 docs, the stream method is the best and the enum method does not work for the field faceting. I saw JSON

Re: missing in json facet does not work for stream?

2015-10-25 Thread Gopal Patwa
Docs are available in Ref guide for Json facet and Json request api https://cwiki.apache.org/confluence/display/solr/Faceted+Search https://cwiki.apache.org/confluence/display/solr/JSON+Request+API On Sun, Oct 25, 2015 at 7:08 PM, hao jin wrote: > Thanks, Yonik. > > When

Re: missing in json facet does not work for stream?

2015-10-23 Thread Yonik Seeley
On Fri, Oct 23, 2015 at 5:55 AM, hao jin wrote: > Hi > I found when the method of json facet is set to stream, the "missing" is not > added to the result. > Is it designed or a known issue? You found an undocumented feature (method=stream) ;-) That facet method doesn't have

missing in json facet does not work for stream?

2015-10-23 Thread hao jin
Hi I found when the method of json facet is set to stream, the "missing" is not added to the result. Is it designed or a known issue? Thanks

Re: missing in json facet does not work for stream?

2015-10-23 Thread Shalin Shekhar Mangar
I see, thanks! On Fri, Oct 23, 2015 at 8:08 PM, Yonik Seeley wrote: > On Fri, Oct 23, 2015 at 10:24 AM, Shalin Shekhar Mangar > wrote: >> Now I am curious, what does it do! > > It's basically like facet.method=enum, but it truly streams > (calculates

Re: missing in json facet does not work for stream?

2015-10-23 Thread Shalin Shekhar Mangar
Now I am curious, what does it do! On Fri, Oct 23, 2015 at 7:40 PM, Yonik Seeley wrote: > On Fri, Oct 23, 2015 at 5:55 AM, hao jin wrote: >> Hi >> I found when the method of json facet is set to stream, the "missing" is not >> added to the result. >> Is it

Re: missing in json facet does not work for stream?

2015-10-23 Thread Yonik Seeley
On Fri, Oct 23, 2015 at 10:24 AM, Shalin Shekhar Mangar wrote: > Now I am curious, what does it do! It's basically like facet.method=enum, but it truly streams (calculates each facet bucket on-the-fly and writes it to the response). Since it is streaming, it only supports