Re: Disseminate results from different sources

2012-03-22 Thread fbrisbart
Thanks for the replies, it fixed my mind, and I now have something to implement :o) I will try to do that with 2 requests: - 1 grouped by source to retrieve the documents to boost - 1 with a FunctionQuery to add the boosts computed during the first request It won't be easy to do that with 1

Disseminate results from different sources

2012-03-21 Thread fbrisbart
Hi all, I have, in my dataset, documents from different sources (forum, news, reviews, ...) And I'd like to have a mix of them in my search results. The problem is that, depending only on the relevance, the results are often grouped by source (Ex.:50 'forum' docs before the first 'review' doc)

Re: Disseminate results from different sources

2012-03-21 Thread Emmanuel Espina
In general the algorithm considers what is more relevant and probably you should check why one kind of result is giving always higher scores than the others. Are you using norms (not setting omitNorms = true). With debugQuery=true you can get a detail of how the score is calculated. That would be

Re: Disseminate results from different sources

2012-03-21 Thread Tanguy Moal
Hello Franck, I've had the same issue in the past. I addressed that by adding a random value to each document. I use this value in the bf parameter, so that the random value alters more or less the documents' score. This results in a natural shuffling of documents which had the same score