Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ICU collation based sorting for facets #7

Closed
wants to merge 3 commits into from
Closed

Adding ICU collation based sorting for facets #7

wants to merge 3 commits into from

Conversation

jprante
Copy link
Contributor

@jprante jprante commented Oct 17, 2012

Hi,

I have implemented an ICU term facet that allows sorting the term entries by ICU collation rules. It is useful for linguistic applications. An example for german phonebook sorting is included.

Cheers, Jörg

@jprante
Copy link
Contributor Author

jprante commented Dec 3, 2013

I wonder how I can implement ICU collation based facets using the aggregation framework of upcoming 1.0.

Is it still planned to add collation-key based comparators for string terms in the new aggregation framework?

See also comment
elastic/elasticsearch#3300 (comment)

Right now, only simple comparators are implemented, like org.elasticsearch.search.aggregations.bucket.terms.Terms.Order.TERM_ASC and org.elasticsearch.search.aggregations.bucket.terms.Terms.Order.TERM_DESC

How can I extend them?

@dadoonet
Copy link
Member

@jpountz Do you think you can answer @jprante and if this is something we would like to have in elasticsearch 2.x?

Jörg, I'm closing this PR as it won't be merged. If you plan to do something around aggs, please open a PR agains elasticsearch repo which now holds this plugin.

Thanks!

@dadoonet dadoonet closed this Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants