Thought of another way to do this which will at least work for one field,
and that is by mapping all of the values into a simple string field and
then querying for an exact match in the string (one term). This is similar
to having a 'count' field, but for our index creation process we could
reuse
I am having a similar problem and would appreciate any useful explanation
on this topic.
I couldn't find a way of querying for "exact match" in multivalued or
normal text fields
On Thu, Jan 26, 2012 at 3:14 AM, Garrett Conaty wrote:
> Does anyone know if there's a way using the SOLR query syntax
Does anyone know if there's a way using the SOLR query syntax to filter
documents that have only a certain value in a multivalued field? As an
example if I have some field "country" that's multivalued and I want
q=id:[* TO *]&fq=country:brazil where 'brazil' is the only value
present.
I've