solr-node-client icon indicating copy to clipboard operation
solr-node-client copied to clipboard

solr facet pivot not working

Open vaishaliakhare opened this issue 10 years ago • 2 comments

I have downloaded the solr 0.6.0 & trying to use solr pivot. here is my sample query var query = client.createQuery() .q({ 'feed_type':'UNCATEGORIZEDITEM' }) .start(0) .rows(10) .facet({pivot:'batch_id,item_status'}); in the response i am not getting getting facet_pivot object. facet_counts: { facet_queries: {}, facet_fields: {}, facet_dates: {}, facet_ranges: {}, facet_intervals: {} } }

please help.

vaishaliakhare avatar Dec 15 '15 22:12 vaishaliakhare

Did you manage to solve this ? I came across the same problem and tried the solrVersion as initialisation parameter

solr.createClient({ solrVersion: '6.5' })

but that didn't work either. Any suggestions?

ovus00 avatar Jun 06 '17 10:06 ovus00

@ovus00 Try solr.createClient({ solrVersion: 5 })

drgrey87 avatar Feb 16 '18 18:02 drgrey87