lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <>
Subject Re: Searching across multivalued fields
Date Wed, 17 Jun 2009 10:15:33 GMT
MilkDud schrieb:

> To be more specific, I'm indexing a collection of music albums that
> have multiple tracks and an album artist.  So, some searches will
> contain both the artist name and the track name.  I can't make this a
> single phrase query as it is indexed across two separate fields.

Use the DisMaxRequestHandler and specify all fields you want to use in
your query in the qf parameter.

   <!-- qf = query fields: list of fields with boost factor -->
   <str name="qf"> artist^3 album^2 track^1 </str>

Michael Ludwig

View raw message