Skip to content

Warning messages logged when index_prefixes are configured in index mapping #77183

Closed
@R0ky

Description

@R0ky

Elasticsearch version (bin/elasticsearch --version): 7.11.0

Plugins installed: []

JVM version (java -version):

OS version (uname -a if on a Unix-like system):

Description of the problem including expected versus actual behavior:
For index that has index_prefixes configured in the mapping, so similar like this:

"field" : {
          "type" : "text",
          "index_prefixes" : {
            "min_chars" : 1,
            "max_chars" : 17
          }
        },

we can see a number of warning events logged in Elasticsearch log. Events look like this:

[index_name][10] no index mapper found for field: [field._index_prefix] returning default postings format

Steps to reproduce:

N/A

Provide logs (if relevant):
N/A

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.:Search Foundations/MappingIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions