Leading wildcard queries are very inefficient and should be avoided. I would therefore recommend extracting the information at index time so you can use an operator that scales and performs better.
Yeah, that is right of course. But why can you enter "*test*" in the search bar, but cannot set a field filter "message:*test*"? I think the latter isn't as costly as the first...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.