lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: Query on multivalue field
Date Tue, 01 Mar 2011 13:35:19 GMT
Hi Scott,

Querying against a multi-valued field just works - no special incantation required.

Steve

> -----Original Message-----
> From: Scott Yeadon [mailto:scott.yeadon@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.
Mime
View raw message