Check if nested object not exists

2015-01-13 Thread Elke
] } }, "path": "marketplace" } } both marketplace and price are mapped : "nested". I have two marketplaces. One has a price arr

Re: Sorting by nested fields

2014-12-10 Thread Elke
Is this possible using script sort? -- 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+unsubscr...@googlegroups.com. To view this discussion on the w

Re: Sorting by nested fields

2014-10-17 Thread Elke
Has somebody another idea? Or it is not possible at all? -- 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+unsubscr...@googlegroups.com. To view thi

Re: problem in search nested type object

2014-10-16 Thread Elke
Hi. What kind of analyzer do you use? I think it might be a problem with the whitespace (Or do you have the same problem if the value does not contain whitespaces?). In this case you can use a keyword analyzer (so you will not separate the words into single token) or map the fields to not_anal

Re: Sorting by nested fields

2014-10-13 Thread Elke
Hi. I tried to set the nested_path to "marketplaces" and "marketplaces.prices". But I still get "Infinity" as sort result. Best regards, Elke Am Freitag, 10. Oktober 2014 15:23:50 UTC+2 schrieb Jonathan Foy: > > I suspect that because you have multiple leve

Sorting by nested fields

2014-10-07 Thread Elke
"term" : { "marketplaces.name" : "marketPlace1" In case I don't use the nested_filter I get the second document as first result, because the sorting doesn't