Michael,

That part I understand and is what I have now.  It's the fact that since
tracks is multivalued, and i search for a track "love me", i will also get
back artists that have the words love and me in separate tracks.  Now with a
phrase query with a small ps and a large posIncGap that could word.  But
then I lose the ability to search for artist and track name together.

-Jason


Michael Ludwig-4 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Searching-across-multivalued-fields-tp24056297p24074933.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to