Inconsistent results when searching within one type vs all types

Do the different mappings contain fields with similar names, but different
types (string, int, long, etc.)? If so, are there any errors in the log?
Since the types all share a same Lucene index, the fields with similar
names must be of the same field type even if they are in different
elasticsearch types.

Cheers,

Ivan

On Sun, Nov 24, 2013 at 2:41 AM, Amit Soni amitsoni29@gmail.com wrote:

Hi all - I just observed something weird and was wondering if anyone else
has seen this type of behavior and what might be the possible reason for
the same.

We are using 3 types within a single index. When I execute my
filtered-query against a specific type, I get a few matches. However when I
run the same query but specify all the types, I do not get any documents.

For instance:

Query against http://[host]:9201/index_alias1/type1 ---> Gives me a few
matches

Query against http://[host]:9201/index_alias1/type1, type2, type3 --->
Gives me zero matches

Note that these three types have different mappings altogether.

Very curious to know what might be causing this inconsistent behavior.

-Amit.

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

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