lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mama <sundaram....@gmail.com>
Subject Boost only first 10 records
Date Mon, 03 Sep 2018 06:48:33 GMT
Hi 
We have requirement to boost only first few records & rest of result should
be as per search.
e.g. if i have books of different genre & if user search for some book
(intrested in genere : comedy) then 
we want to show say first 3 records of genre:comedy and rest of results
should be of diff genre .
Reason for this is , we have lots of books in db , if we boost comedy genre
then first 100s of records will be comedy and user may not be aware of other
books.
is it possible ?

Query for boosting genre comedy
 genre:comedy^0.5

can someone help with requirement of limiting boost to first few records ?



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message