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>

http://wiki.apache.org/solr/DisMaxRequestHandler

Michael Ludwig

Reply via email to