Query syntax, with missing values


(Justin MacCarthy) #1

Hi newbie question,

how can I search for people whose name begins with j and is under 18 (no
value in age, assume under 18 )?

name age

joe 50
joe 17
jim 6
james
jo 33

I think I need to use the missing filter?

If you can give the curl syntax that would be great !

Thanks

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


(Hendrik) #2

have a look
here https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/4TiUj7smKUM

Am Donnerstag, 24. Oktober 2013 06:40:28 UTC+2 schrieb Justin MacCarthy:

Hi newbie question,

how can I search for people whose name begins with j and is under 18 (no
value in age, assume under 18 )?

name age

joe 50
joe 17
jim 6
james
jo 33

I think I need to use the missing filter?

If you can give the curl syntax that would be great !

Thanks

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


(system) #3