I don't understand your question.  Are myval1...3 fixed and controlled by your 
interface or are they an arbitrary N number of query words from a user query?  
In any case, you may need to write a request handler.

~ David Smiley
Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/

On Jan 21, 2010, at 10:14 AM, Noam G. wrote:

> 
> Hi Guys,
> 
> I'll start by thanking every one for an amazing search engine!
> 
> What am I trying to do? Basically what I need is the ability to do some kind
> of "switch" or an "if-else" flow based on the field value and a parameter
> that I will pass using the query string. The result will be documents that
> comply with this logic.
> 
> For example (myval1, myval2 and myval3 are the params from the query
> string):
> if(index_value == myval1) {
>    if(other_index_value == 1){
>        don't return the document;
>    } else {
>        return the document;
>    } 
> }else if(index_value == myval2) {
> .......
> }else if(index_value == myval3) {
> ....... 
> } 
> 
> What should I override to implement this?
> 
> Thank you very much,
> 
> Noam.
> -- 
> View this message in context: 
> http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259310.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 



Reply via email to