Hi Scott, Querying against a multi-valued field just works - no special incantation required.
Steve > -----Original Message----- > From: Scott Yeadon [mailto:scott.yea...@anu.edu.au] > Sent: Monday, February 28, 2011 11:50 PM > To: solr-user@lucene.apache.org > Subject: Query on multivalue field > > Hi, > > I have a variable number of text-based fields associated with each > primary record which I wanted to apply a search across. I wanted to > avoid the use of dynamic fields if possible or having to create a > different document type in the index (as the app is based around the > primary record and different views mean a lot of work to revamp > pagination etc). > > So, is there a way to apply a query to each value of a multivalued field > or is it always treated as a "single" field from a query perspective? > > Thanks. > > Scott.