On 2/18/2016 7:12 AM, Anil wrote: > Thank you, i just checked in 5.1. > > as facet fields has to be Strings and cannot be tockenized. is there any > way to search on case insensitive search on this field (not in a facet > filter scenario).
If you configure docValues on the field in schema.xml and reindex, then the returned facets will be the original input values even if the field is tokenized, just as if you had used a string type without docValues. This should allow you to use one field for queries *and* facets. The reindex *is* required after adding docValues, and the index will be larger. Note that using 5.1 isn't recommended at this point. You should use the latest version available. Currently that's 5.4.1, but soon it will be 5.5. Thanks, Shawn