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 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 numerical field types.
Regards,
gwk
On 4/7/2010 2:44 AM, 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?
Thanks