Re: How to use facet pivoting with paging?

2018-02-01 Thread Emir Arnautović
You are welcome! Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 1 Feb 2018, at 11:04, keenkiller wrote: > > Oh, I got it. Thanks a lot! > > > > -- > Sent from:

Re: How to use facet pivoting with paging?

2018-02-01 Thread keenkiller
Oh, thanks for your help. I got it. I misunderstand the meaning of `offset`. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How to use facet pivoting with paging?

2018-02-01 Thread keenkiller
Oh, I got it. Thanks a lot! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How to use facet pivoting with paging?

2018-02-01 Thread Emir Arnautović
Hi, When you set facet.offset=1, it applies to all facets - it offsets both partnerId and partnerName by 1. Since you have only one name, it is empty. What you should do is set offset only for partnerId facet by setting f.partnerId.facet.offset=1. If this is your only usecase, you might

Re: How to use facet pivoting with paging?

2018-02-01 Thread keenkiller
Sorry for late reply. Just like the original post, if i set facet.offset=0, everything is OK. The request is like: GET http://172.16.51.98:8983/solr/channel/select?q=channelType:1=0=true=1=0=partnerId,partnerName=json And the response is: { "responseHeader": { "zkConnected": true,

Re: How to use facet pivoting with paging?

2018-01-24 Thread Emir Arnautović
Hi, Can you explain a bit more what is the issue? If you are talking of paging results, then it depends on your presentation layer - you can include facet numbers when returning the first page or ask for facets separately and for the next page you do not return facets and only refresh results.

Re: How to use facet pivoting with paging?

2018-01-23 Thread keenkiller
I meet the same problem here. Can some one give any help? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

How to use facet pivoting with paging?

2017-03-15 Thread Georgios Petasis
Hi all, I am performing a facet with pivot query. The result I get is correct, but when I use "facet.offset=1" in the query, the results I get differ, as in pivot removed. Instead of getting: "facet_pivot":{ "buyer.name,agreedPrice.hasCurrency.notation":[{