Hi,

I have a index of documents, where all string fields are not_analyzed, and 
when I try to query by regex filter, I get a weird results:

{ 
"size" : 1,
"query" : {
"filtered" : {
    "filter" : {
        "regexp" : {
            "name" : "v*" 
            }
        }
    }
    }
}

returns no documents, however

{ 
"size" : 1,
"query" : {
"filtered" : {
    "filter" : {
        "regexp" : {
            "name" : "v.*" 
            }
        }
    }
    }
}

works fine - the only difference being the regexp "v*" vs. "v.*". 

Thanks for any suggestion

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5671eaec-1ff5-4e63-b434-ec9d82a20fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to