Re: Select TOP 10 items from Solr Query

2017-02-22 Thread Zheng Lin Edwin Yeo
get the top 10 items first, >>>>> before >>>>> I run the JSON Facet to get the total amount and average amount for >>>>> that >>>>> 10 >>>>> items. >>>>> >>>>> Regards, >>>>&g

Re: Select TOP 10 items from Solr Query

2017-02-20 Thread Emir Arnautovic
ontext: http://lucene.472066.n3. nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html Sent from the Solr - User mailing list archive at Nabble.com. -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/

Re: Select TOP 10 items from Solr Query

2017-02-20 Thread Zheng Lin Edwin Yeo
g here ... >>>> You want to fetch the top 10 results for your query, and allow the user >>>> >>> to >>> >>>> navigate only those 10 results through facets ? >>>> >>>> Which facets are you interested in ? >>>> F

Re: Select TOP 10 items from Solr Query

2017-02-20 Thread Emir Arnautovic
uld need an additional query ? Cheers - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3. nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html Sent from

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Zheng Lin Edwin Yeo
y ? > > > > Cheers > > > > > > > > ----- > > ------- > > Alessandro Benedetti > > Search Consultant, R Software Engineer, Director > > Sease Ltd. - www.sease.io > > -- > > View this message in context: http://lucene.472066.n3. > > nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > >

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Zheng Lin Edwin Yeo
l query ? > >> > >> Cheers > >> > >> > >> > >> - > >> --- > >> Alessandro Benedetti > >> Search Consultant, R Software Engineer, Director > >> Sease Ltd. - www.sease.io > >> -- > >> View this message in context: http://lucene.472066.n3. > >> nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> > >

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Alexandre Rafalovitch
gt; Cheers > > > > - > --- > Alessandro Benedetti > Search Consultant, R Software Engineer, Director > Sease Ltd. - www.sease.io > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Michael Kuhlmann
;> shouldn't be that problematic. >> Are we missing something ? Why you would need an additional query ? >> >> Cheers >> >> >> >> - >> --- >> Alessandro Benedetti >> Search Consultant, R Software Engineer, Director >> Sease Ltd. - www.sease.io >> -- >> View this message in context: http://lucene.472066.n3. >> nabble.com/Select-TOP-10-items-from-Solr-Query-tp4320863p4320910.html >> Sent from the Solr - User mailing list archive at Nabble.com. >>

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Zheng Lin Edwin Yeo
an additional query ? > > Cheers > > > > - > --- > Alessandro Benedetti > Search Consultant, R Software Engineer, Director > Sease Ltd. - www.sease.io > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Select-TOP-10-items-from-So

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread alessandro.benedetti
-items-from-Solr-Query-tp4320863p4320910.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Michael Kuhlmann
Since you already have the top x items then, wouldn't it be much easier to collect the "facet" data from the result list on your own? Am 17.02.2017 um 10:18 schrieb Zheng Lin Edwin Yeo: > Hi Michael, > > Yes, I only want the JSON Facet to query based on the returned result set > of the itemNo

Re: Select TOP 10 items from Solr Query

2017-02-17 Thread Zheng Lin Edwin Yeo
Hi Michael, Yes, I only want the JSON Facet to query based on the returned result set of the itemNo from the 1st query. There's definitely more than the 10, but we just need the top 10 in this case. As the top 10 itemNo may change, so we have to get the returned result set of the itemNo each

Re: Select TOP 10 items from Solr Query

2017-02-16 Thread Michael Kuhlmann
So basically you want faceting only on the returned result set? I doubt that this is possible without additional queries. The issue is that faceting and result collecting is done within one iteration, so when some document (actually the document's internal id) is fetched as a possible result

Select TOP 10 items from Solr Query

2017-02-16 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, is it possible to do a select of say TOP 10 items from Solr query, and use the list of the items to do another query (Eg: JSON Facet)? Currently, I'm using a normal facet to retrieve the list of the TOP 10 item from the normal faceting. After which, I have to list out