Re: Problem in facet.contains

2015-07-04 Thread Erick Erickson
Glad it's working out. I should have added that for a small set of distinct terms the performance diff between contains and prefix is probably um-measurable. If your field has 100 distinct tokens (number from thin air) well, computers are really fast Best Erick On Sat, Jul 4, 2015 at 1:45 AM,

Re: Problem in facet.contains

2015-07-04 Thread Pritam Kute
Thanks Eric for your kind help. The field I am using is of string type and I tried escaping also, but still facet.contains doesn't work for it. As you said facet.contains is expensive, I tried facet.prefix in place and it is working fine for my requirement. Thanks again. Thanks & Regards -- Pri