lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Using Solr for Info Retreval not so much Search...
Date Wed, 30 Jul 2008 23:28:29 GMT

: 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


Mime
View raw message