Re: Bucketing a price field

2010-04-07 Thread Blargy
Duh, didnt even think of that. This will probably be the easy way for now since we are only using a small number of predefined ranges. Thanks for the reply -- View this message in context: http://n3.nabble.com/Bucketing-a-price-field-tp701801p703169.html Sent from the Solr - User mailing list

Re: Bucketing a price field

2010-04-07 Thread gwk
Oops, the new patch only works on Trie fields, other stuff I said should still be valid. (One extra thing to be aware of is double counting, see http://n3.nabble.com/Date-Faceting-and-Double-Counting-td502014.html for example) Regards, gwk On 4/7/2010 4:03 PM, gwk wrote: Hi, A while back I

Re: Bucketing a price field

2010-04-07 Thread gwk
Hi, A while back I created a patch for Solr (http://issues.apache.org/jira/browse/SOLR-1240) to do range faceting on numbers. I haven't uploaded an updated patch for Solr 1.4 yet, I'll try to do that shortly. I haven't tested it on a floating point field but in theory it should work on most n

Re: Bucketing a price field

2010-04-07 Thread Erik Hatcher
On Apr 6, 2010, at 8:44 PM, Blargy wrote: What would be the best way to do range bucketing on a price field? I'm sort of taking the example from the Solr 1.4 book and I was thinking about using a PatternTokenizerFactory with a SynonymFilterFactory. Is there a better way? For faceting..

Bucketing a price field

2010-04-06 Thread Blargy
://n3.nabble.com/Bucketing-a-price-field-tp701801p701801.html Sent from the Solr - User mailing list archive at Nabble.com.