I have N keywords and execute a query of the form keyword1 OR keyword2 OR .. OR keywordN
The search result would be very large (some million), so I defined a result limit of 100. However Solr seems now to calculates for every possible result document the number of matched keywords and to order them and to give the 100 documents back with the highest number of matched keywords. This seems to take linear time to the size of all possible matched documents. So my questions are:
1. Does Solr support this kind of index access with better performance ? Is there anything special to define in schema.xml?
2. Can one switch off this ordering and just return any 100 documents fullfilling the query (though getting best-matching documents would be a nice feature if it would be fast)?
Thanks