Hi,
I use a dse stack with has solr4.10.
I want to control the number of rows from result set as a percent of the max 
hit 'numFound' or  'maxScore' for a query.
e.g.,
1)  for a query 'foo', if I get 100 hits and if I want to get the top 5% 
percent (say rows=5%). Then I get only 5 rows.
for a query 'bar', if I get 1000 hits, I want to get the top 5% (rows=5%).Then 
I get top 50 rows.

2) for a query 'foo' if the maxScore is 4.5, I want to get say all records 
within 10% of maxScore ..I want to get all records whose score is between 4.5 
to 4.0(this could be the any number of records)

in  other words, the returned set is a percent of hits, instead of a static row 
count.
Is there a way to do this readily or via some custom implementation?

Thanks
Cheers
Prasanna Josium

Reply via email to