: 1. Query the index for entries matching keyword. : 2. remove any entries that are below a threshold score from the external : system
what do you need to sort by? .. if it's the threshold score from your external system, you have no way of avoiding a call out to your external system for every matching doc ... if you want to sort by the "Solr Score" then it should be fairly easy to write a SearchComponent that gets a DocList and walks them in order removing anything that doesn't meet the threshold (re-executing the query with a higher number of rows if it exhausts the current DocList) untill you've got enough to return to your client. -Hoss