_source:{ exclude: [title] }
Hi, I am facing a problem with using _source:{ exclude: [title] } in my elastic query. Whenever I use this, my properties in the _source get shuffled. What am I doing wrong? Example: Without _source:{ exclude: [title] } - _source:{ title : ... prop1 : ... prop2 : ... prop3 : ... prop4 : ... } Without _source:{ exclude: [title] } - _source:{ prop3 : ... prop1 : ... prop4 : ... prop2 : ... } Expected: - _source:{ prop1 : ... prop2 : ... prop3 : ... prop4 : ... } -- 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 web visit https://groups.google.com/d/msgid/elasticsearch/d31202f2-75d8-4232-ae25-1dd4acbcae95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Order of the properties gets changed if _source:{ exclude: [title] } is used in a query.
Hi, I am facing a problem with using _source:{ exclude: [title] } in my elastic query. Whenever I use this, my properties in the _source get shuffled. What am I doing wrong? Example: Without _source:{ exclude: [title] } - _source:{ title : ... prop1 : ... prop2 : ... prop3 : ... prop4 : ... } With _source:{ exclude: [title] } - _source:{ prop3 : ... prop1 : ... prop4 : ... prop2 : ... } Expected: - _source:{ prop1 : ... prop2 : ... prop3 : ... prop4 : ... } -- 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 web visit https://groups.google.com/d/msgid/elasticsearch/64c384c4-aae6-41f0-9ab5-4744015c55b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.