lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noam G." <>
Subject Choosing what document to return.
Date Thu, 21 Jan 2010 15:14:38 GMT

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
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,

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message