AND and OR queries

Hi
I've noticed something strange when I do queries on ES cluster.

Basically my entire query is a string like this: headlights OR headlamp

So the JSON would look sth like this:
"query_string" : {
"query" : "headlights OR headlamp",
"default_field" : "post.body"
}
}

Now the confusing part:
1: If I search for headlights I get 10 results.
2: If I search for headlamp I get 9 results.
3: When I search for headlights OR headlamp I get 4 results. The results
contain 2 results for headlights and 2 results for headlamp.
Shouldn't this return 10+9 results? Why not?
4: If I search for for headlights OR headlamp I get only 1 result. This is
correct since there is one results with both these words.

Thanks
Adrian

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

#4 is supposed to be AND not OR:

4: If I search for headlights AND headlamp I get only 1 result. This is
correct since there is one results with both these words.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.