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,
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
Facets are collected over _tokens_, so the idea
of a token containing a space is kind of odd. You
_might_ be able to get past the parsing error by
escaping the space.
But I doubt that's what you want. I'm assuming that
the field is a text field, broken up by whitespace
or similar. In that case, th
Hello All,
I am new user to solr and using solr 5.2.0 setup. I am trying to create
multiple types of facets on same field. I am filtering the facets by using "
*facet.contains*". The following is the data into field.
roles : {
"0/Student Name/",
"1/Student Name/1000/",
"0/Center Na