Hi Toke, I have tried using the HTTP URL command, and it works!
The searching speed for using JSON Facet is much faster than using the group.ngroups. The time taken for returning my 6 million groups has been reduced from 2 minutes to less than 2 seconds. I used the following URL to get the JSON Facet to work. http://localhost:8983/solr/collection1/select?q=test&json.facet={ngroups: ”unique(signature)”} Regards, Edwin On 15 March 2016 at 10:31, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi Toke, > > I have tried using the HTTP URL command, and it works! > > The searching speed for using JSON Facet is much faster than using the > group.ngroups. The time taken for returning my 6 million groups has been > reduced from 2 minutes to less than 2 seconds. > > I used the following URL to get the JSON Facet to work. > > http://localhost:8983/solr/collection1/select?q=test&json.facet={ngroups: > ”unique(signature)”} > > > Regards, > Edwin > > > > On 13 March 2016 at 16:14, Zheng Lin Edwin Yeo <edwinye...@gmail.com> > wrote: > >> Thanks for the info Toke. >> >> Regards, >> Edwin >> >> On 13 March 2016 at 04:45, Toke Eskildsen <t...@statsbiblioteket.dk> wrote: >> >>> Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: >>> > Just to check, are we able to do JSON faceting using HTTP URL command? >>> >>> I don't think so. All examples I have seen uses POST: >>> https://cwiki.apache.org/confluence/display/solr/JSON+Request+API >>> >>> >>> - Toke Eskildsen >>> >> >> >