I recently started working with solr and currently I am exploring solr facet support. For text related fields, I can assume that solr doesn't create any additional data structures to store facet information.
If I have below json document:
{
...
"name":"john"
"department":"IT"
"salary":10000
...
}
I want to do facet search on 2 fields department and salary.
So, in case of department, I assume the inverted index/map that gets created can return me the list of documents for a give facet word and no additional space is used to display facet info. Is this assumption correct? or solr uses extra space for facet support?
Is it correct that for range based facets in salary field, additional data structure gets created while solr indexes the document to support range based queries?
If Solr uses extra space to support facets, can I disable it for certain fields that I want to index but do not want facet search on them, like how we give "indexed=true"
? One of my friend said that Oracle endeca has this feature where we can configure to disable/enable facet support for a field, So, something similar I need in solr, if exists.