Hi Avlesh No, as I was trying to explain, I obviously don't want a totally random result. I just want to mix it up a "little". Is there a way to achieve this with solr?
Bjorn Avlesh Singh wrote: > > If simply getting random results (matching your query) from Solr is your > requirement, then a dynamic RandomSortField is what you need. Details here > - > http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html > > Cheers > Avlesh > > On Tue, May 26, 2009 at 6:54 AM, yaymicro_bjorn > <oddbjorn.sjog...@gmail.com>wrote: > >> >> Hi >> >> I'm responsible for the search engine at yaymicro.com. yaymicro.com is a >> microstock agency (sells images). We are using the excellent solr search >> engine, but I have a problem with series of similar images showing up. >> I'll >> try to explain: >> >> A search for dog for example >> >> http://yaymicro.com/search.action?search.search=dog&x=0&y=0&search.first=true >> >> very often results in variations of the images of the same motive close >> to >> each other. This is logical, but unwanted behaviour, since we would love >> to >> show our customers more variations in search result. >> >> So my question is quite simple, is there a way to configure solr to put >> some >> "randomness" in the search result? To shuffle the result, not completly, >> but >> "a bit" to avoid such series of similar images. >> >> Any respons would be highly appreciated >> >> Bjorn >> CTO of YayMicro >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Shuffling-results-tp23715563p23715563.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Shuffling-results-tp23715563p23716312.html Sent from the Solr - User mailing list archive at Nabble.com.