On Jul 23, 2008, at 1:26 PM, Michael Semb Wever wrote:

>> I'm building a new query transformer that shall only do its magic
>> under given circumstances. However, in those cases where these
>> circumstances are not met, there's no reasons for the search command
>> to run. Is there any ways of cancelling a search command from a query
>> transformer?
>
> No. You must optimise your search command to be aware of such state  
> change from the query transformer and to prevent
> further searching/network-operations.

Could it then be an idea to standarize a way of doing this? E.g.  
letting the query transformer set a property of some sort on the  
search command, that (all of) the search commands read before they  
actually do anything?

That way any search command can be stopped by either a query  
transformer or by another search command. Not sure I want the last  
feature, but it .. might come in handy. ;)

-- 
Magne
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to