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 - Permission denied. Laravel linux server -

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

python - Pandas two dataframes multiplication? -