Well, you can try adding a <copyField> directive to put it into a numeric field....
But you need to provide significantly more details. From what you've said there's not enough information to say much besides "it should work". Perhaps you should review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Wed, Nov 23, 2011 at 1:35 AM, neuron005 <neuron...@gmail.com> wrote: > Thanks for replying > I tried using "Trie" types for faceting solr but that did not solve the > problem. If I use Trie types(for e.g. I used tlong)...it shows "schema > mismatch error" as in FileListEntityProcessor api , fileSize has been > defined of type string. That means we can not apply facet.range on fileSize. > Am I right? > Thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-files-be-faceted-based-on-their-size-tp3518393p3529923.html > Sent from the Solr - User mailing list archive at Nabble.com. >