Wildcard, fuzzy, and regex query do work on multivalued fields, but on only a single value at a time. Your match cannot occur across values.

-- Jack Krupansky

-----Original Message----- From: Ethan
Sent: Thursday, June 5, 2014 12:52 PM
To: solr-user
Subject: Re: Multivalue wild card search

Wildcard search do work on multiValued field.  I was able to pull up
records for following multiValued field -

Code : [
"12344",
"4534",
"674"
]

q=Code:45* fetched the correct document.  It doesn't work in
quotes(q="Code:45*"), however.  Is there a workaround?


On Thu, Jun 5, 2014 at 9:34 AM, Ethan <eh198...@gmail.com> wrote:

Are you implying there is not way to lookup on a multiValued field with a
substring?  If so, then how is it usually handled?


On Wed, Jun 4, 2014 at 4:44 PM, Jack Krupansky <j...@basetechnology.com>
wrote:

Wildcard, fuzzy, and regex query operate on a single term of a single
tokenized field value or a single string field value.

-- Jack Krupansky

-----Original Message----- From: Ethan
Sent: Wednesday, June 4, 2014 6:59 PM
To: solr-user
Subject: Multivalue wild card search


I can't seem to find a solution to do wild card search on a multiValued
field.

For Eg consider a multiValued field called "Name" with 3 values -

"Name" : [
"[[\"Ethan\", \"G\", \"\"],[\"Steve\", \"Wonder\", \"\"]]",
"[]",
"[[\"hifte\", \"Grop\", \"\"]]"
]

For a multiValued like above, I want search like-

q="***[\"Steve\", \"Wonder\", \"\"]"


But I do not get back any results back. Any ideas on to create such
query?




Reply via email to