> *Can fileSize be faceted? *I tried to > facet them, but fileSize is of type > string and can not be faceted. > I want to facet my doc and pdf files according to their > size. I can > calculate file Size but they are of type string. > What should I do in order to achieve that? > Thanks in advance
Since you want to apply range faceting you need to use trie based types. http://wiki.apache.org/solr/SimpleFacetParameters#Facet_by_Range