How to get various records in the result set

2009-07-07 Thread fei dong
Hi buddy,

I am working on a music search project and I have a special requirement
about the ranking when querying the artist name.

Ex: When I query the artist ne yo, there are 500results and maybe 100 song
names are repeated. So the ideal thing is to let users get more different
songs in on page and the results have lyrics must be shown in the front. My
current solr query is:

?q=ne+yoqf=artistdefType=dismaxsort=lyric%20desc,links%20descstart=0rows=20indent=on

then the results will shows same song names together because those
records always get the same score.
How to implement that effect? Thxs.


Re: How to get various records in the result set

2009-07-07 Thread Chris Hostetter

duplicate post?
http://www.nabble.com/how-to-shuffle-the-result-while-follow-some-priority-rules-at-the--same-time-to24282025.html#a24282025

FYI: reposting the same question twice doesn't tend to get responses 
faster, it just increases the total volume of mail and slows down 
everyones ability to read/reply to messages. 

what can help get a response: Replying to your own question with 
additional details like configs, concrete examples, debugging output, log 
messages, things you've tried to solve hte problem, etc...



-Hoss