: Subject: Terms.regex performance issue
: 
: As I want to use it in an Autocomplete it has to be fast. Terms.prefix gets
: results in around 100 milliseconds, while terms.regex is 10 to 20 times
: slower.

can you elaborate on how you are using terms.regex?  what does your regex 
look like? .. particularly if your usecase is autocomplete terms.prefix 
seems like an odd choice. 

Possible XY Problem?
https://people.apache.org/~hossman/#xyproblem

Have you looked at using the Suggester plugin?

https://wiki.apache.org/solr/Suggester


-Hoss

Reply via email to