Of course. Also, remember there are things to consider like if you want to
store/retrieve it as an absolute string including capitalization for a
facet/Drop down selection or only as a search field. lots of nuances.
-Dave
Thanks Dave. That seems to work.
From: Dave
Sent: Friday, December 9, 2022 11:19 AM
To: Matthew Castrigno
Cc: users@solr.apache.org ; a...@petdance.com
Subject: Re: Using the fq parameter to filter for a value that is multivalued
field.
Try adding each value
quot;,"Article"]
>
> How do I get SOPLR to not add the \ ?
>
> Thank you!
>
>
>
> From: Walter Underwood
> Sent: Friday, December 9, 2022 10:42 AM
> To: users@solr.apache.org
> Subject: Re: Using the fq parameter to filter for a value that is multivalu
ticle"]
Instead of
facets_ss":["Blogs","Article"]
How do I get SOPLR to not add the \ ?
Thank you!
____________________
From: Walter Underwood
Sent: Friday, December 9, 2022 10:42 AM
To: users@solr.apache.org
Subject: Re: Using the fq parameter to filter
If you want apple OR pear, use:
myField:apple myField:pear
If you want apple AND pear, use:
+myField:apple +myField:pear
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Dec 9, 2022, at 9:22 AM, Matthew Castrigno wrote:
>
> I am having trouble usi
> On Dec 9, 2022, at 11:22 AM, Matthew Castrigno wrote:
>
> "myField":["apple, pear"]
That's not multivalued. That's a single value and the value is "apple, pear".
You need to pass multiple values to Solr for the field when you do your
indexing. Basically, you need to pass one myField:ap
"apple, pear"
That looks like a string not a multi valued field to me. Maybe I’m wrong but
you should have quotes around each element of the array
> On Dec 9, 2022, at 12:23 PM, Matthew Castrigno wrote:
>
> "apple, pear"