lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: add an "afterFilter" to IndexSearcher.search()
Date Tue, 29 Mar 2011 00:10:54 GMT

: > Optimizing cases where filters might be more expensive than the main query ;-)

: But you must have a real use case... that inspired this idea?  Where
: are apps/Solr "typically" using such expensive filters?

i have no idea what usecase prompted yonik to start thinking about this, 
but the first example that came up in my mind is the semi-ubiquitous 'ACL' 
question that people always want to implement using a completley 
external authorization system.

If you have no choice but to query an remote system to find out if a 
document should be included in a particular result set, odds are you don't 
want to pay the price of asking it only to find out afterwards that it 
doesn't matter anyway, because it doesn't metch a required query clause.

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message