search - Can Lucene's TermRangeQuery use a different sort order? -


lucene's termrangequery sorts terms according bytesref.compareto. there exists bytesref.getutf8sortedasunicodecomparator, there seems no way use termrangequery.

in fact make sort order more "natural" sorting 'รค' right after 'a' or treat them identical. looking @ code of termrangequery, end in automaton class , wonder whether have write own automaton. or there api available missing?


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

javascript - Angular2 intelliJ config error.. Cannot find module '@angular/core' -

google bigquery - Delta between query execution time and Java query call to finish -