lbdremy / solr-node-client

A solr client for node.js.
http://lbdremy.github.com/solr-node-client
MIT License
506 stars 208 forks source link

solr facet pivot not working #167

Open vaishaliakhare opened 8 years ago

vaishaliakhare commented 8 years ago

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.

ovus00 commented 7 years ago

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?

drgrey87 commented 6 years ago

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