Re: Adding weightage to the facets count

2011-01-25 Thread Johannes Goll
Hi Siva, try using the Solr Stats Component http://wiki.apache.org/solr/StatsComponent similar to select/?&q=*:*&stats=true&stats.field={your-weight-field}&stats.facet={your-facet-field} and get the sum field from the response. You may need to resort the weighted facet counts to get a descending

Re: Adding weightage to the facets count

2011-01-24 Thread Chris Hostetter
: prod1 has tag called “Light Weight” with weightage 20, : prod2 has tag called “Light Weight” with weightage 100, : : If i get facet for “Light Weight” , i will get Light Weight (2) , : here i need to consider the weightage in to account, and the result will be : Light Weight (120) : : How can

Re: Adding weightage to the facets count

2011-01-20 Thread Jonathan Rochkind
Maybe?: Just keep the 'weightages' in an external store of some kind (rdbms, nosql like mongodb, just a straight text config file that your app loads into a hash internally, whatever), rather than Solr, and have your app look them up for each facet value to be displayed, after your app fetches

Adding weightage to the facets count

2011-01-20 Thread sivaprasad
context: http://lucene.472066.n3.nabble.com/Adding-weightage-to-the-facets-count-tp2295308p2295308.html Sent from the Solr - User mailing list archive at Nabble.com.