lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: RequestHandler.. Conditional components
Date Thu, 11 Apr 2013 19:59:37 GMT
By "come out", do you mean that the request is completed successfully, or to 
abort and fail the request? For the latter, you can throw an exception.

There is no direct, proper way for search component B to skip search 
component C, but... B can modify the request parameters to set "C=false" to 
disable C.

Also, do you want to do this conditional flow during the "prepare" stage or 
the "process stage", or both?

-- Jack Krupansky

-----Original Message----- 
From: venkata
Sent: Thursday, April 11, 2013 3:15 PM
To: solr-user@lucene.apache.org
Subject: Re: RequestHandler.. Conditional components

For example requestHander A defined as shown below.
<component A>
<component B>
<component C>

Based on some condition ( based on SOLR param value or  some other
condition),
I want to come out after executing "component B".

Something possible?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/RequestHandler-Conditional-components-tp4053381p4055374.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message