lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: missing in json facet does not work for stream?
Date Fri, 23 Oct 2015 14:38:47 GMT
On Fri, Oct 23, 2015 at 10:24 AM, Shalin Shekhar Mangar
<shalinmangar@gmail.com> 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 sorting by term index order.

Although if there is need/demand, we could also do a lightweight
ordering over the buckets first (ordering by count or other facet
function) and then still stream, creating the buckets and any
sub-facets on the fly.

-Yonik



> On Fri, Oct 23, 2015 at 7:40 PM, Yonik Seeley <yseeley@gmail.com> wrote:
>> On Fri, Oct 23, 2015 at 5:55 AM, hao jin <hao.jin@oracle.com> 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 adequate testing yet, so I haven't
>> publicized / documented it.
>> Support for things like "missing" may be some of the stuff still TBD.
>>
>> -Yonik
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.

Mime
View raw message