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

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -