search - Selectively setting the number of returned SOLR rows per field based on field name -


i have field in solr index, let's call book_title.

a query returns 15 rows book_title:"the kite runner", 13 rows book_title:"the stranger", , 8 rows book_title:"the ruby way".

is there way return first row of "the kite runner" , "the stranger", of "the ruby way" rows previous query result? result in 10 rows altogether. possible @ all, using single query?

no, variable amount of documents are, far know, not possible. can use fieldcollapsing / grouping overview 8 documents each, if that's want - , ignore 7 other "the kite runner" , "the stranger". option first retrieve collapsed / grouped set of documents, issue second query complete result set 1 of selected groups.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -