Defaults to the index.query.default_field index setting, which has a default value of *. The * value extracts all fields that are eligible to term queries and filters the metadata fields. All extracted fields are then combined to build a query if no prefix is specified.
Another approach could be using the ingest rename processor to rename at index time your field names if there is no solution to control this from your application...
Thanks !
In our application, we allow users to define any field name starting with an alphabet. And due to application constraints we can only use _ prefix fields as application's generated/calculated fields.
And these fields should participate in full text search.
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.