Hi,
Is it possible to store records in sorted order? I see the records are
stored randomly.
_index
_type
_id
_score
empname
dept
employee
1
1
emp1
dept
employee
5
1
emp5
dept
employee
3
1
emp3
dept
employee
2
1
emp2
dept
employee
4
1
emp4
But I want the records stored in this order.
_index
_type
_id
_score
empname
dept
employee
1
1
emp1
dept
employee
2
1
emp2
dept
employee
3
1
emp3
dept
employee
4
1
emp4
dept
employee
5
1
emp5
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0b096c36-4c50-40c4-b5f0-6d8bcc4fb048%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
jpountz
(Adrien Grand)
October 31, 2014, 6:08pm
2
This is not supported yet, see
Indexing: index-time sorting · Issue #6720 · elastic/elasticsearch · GitHub .
I am not sure why you want records in order, but for your information it is
possible to perform search-time sorting:
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
On Fri, Oct 31, 2014 at 3:51 PM, satheesh kumar cssatheesh@gmail.com
wrote:
Hi,
Is it possible to store records in sorted order? I see the records are
stored randomly.
_index
_type
_id
_score
empname
dept
employee
1
1
emp1
dept
employee
5
1
emp5
dept
employee
3
1
emp3
dept
employee
2
1
emp2
dept
employee
4
1
emp4
But I want the records stored in this order.
_index
_type
_id
_score
empname
dept
employee
1
1
emp1
dept
employee
2
1
emp2
dept
employee
3
1
emp3
dept
employee
4
1
emp4
dept
employee
5
1
emp5
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 .
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0b096c36-4c50-40c4-b5f0-6d8bcc4fb048%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/0b096c36-4c50-40c4-b5f0-6d8bcc4fb048%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout .
--
Adrien Grand
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5jeQdbo8kmg8TgaZkc_ooDNjdJVV%3DwcmH4JEH3qOC3jg%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .