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.

Reply via email to