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 <castr...@slhs.org> wrote:
> 
> I am having trouble using the fq parameter to filter for a value that is in a 
> muilt-valued field.
> 
> This works:
> "myField":["apple"]
> 
> fq=myField:"apple"
> 
> document is returned
> 
> 
> This does not work:
> "myField":["apple, pear"]
> 
> fq=myField:"apple"
> 
> document is NOT returned
> 
> What do I need to do get fq to find a value in a multi-valued field?
> 
> Thank you!
> 
> 
> ----------------------------------------------------------------------
> "This message is intended for the use of the person or entity to which it is 
> addressed and may contain information that is confidential or privileged, the 
> disclosure of which is governed by applicable law. If the reader of this 
> message is not the intended recipient, you are hereby notified that any 
> dissemination, distribution, or copying of this information is strictly 
> prohibited. If you have received this message by error, please notify us 
> immediately and destroy the related message."

Reply via email to