Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wikipedia mapping error in ES 6.3.1
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [namespace : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, name={analyzer=near_match_asciifolding, type=text, index_options=docs}}}] [archive : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, title={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}}}] [page : {dynamic=false, _all=[], properties={file_width={type=long}, template={analyzer=lowercase_keyword, type=text, index_options=docs}, content_model={analyzer=keyword, type=text, index_options=docs}, opening_text={copy_to=[all, all, all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, wiki={analyzer=keyword, type=text, index_options=docs}, auxiliary_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, language={analyzer=keyword, type=text, index_options=docs}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}, file_resolution={type=long}, file_mime={search_analyzer=short_text_search, analyzer=short_text, type=text}, file_height={type=long}, file_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, local_sites_with_dupe={analyzer=lowercase_keyword, type=text, index_options=docs}, text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={word_count={analyzer=plain, store=, type=token_count}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, all_near_match={similarity=BM25, analyzer=near_match, type=text, fields={asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=freqs}}, index_options=freqs}, timestamp={format=dateOptionalTime, type=date}, all={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, redirect={dynamic=false, properties={namespace={type=long}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=arrays, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=arrays, analyzer=prefix_asciifolding, type=text, index_options=offsets}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}, prefix={search_analyzer=near_match, similarity=arrays, analyzer=prefix, type=text, index_options=offsets}, keyword={similarity=arrays, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=arrays, analyzer=near_match_asciifolding, type=text, index_options=offsets}, near_match={similarity=arrays, analyzer=near_match, type=text, index_options=offsets}}, index_options=offsets}}}, wikibase_item={analyzer=keyword, type=text, index_options=docs}, heading={copy_to=[all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, source_text={type=text, fields={trigram={analyzer=trigram, type=text, index_options=docs}, plain={search_analyzer=source_text_plain_search, similarity=BM25, analyzer=source_text_plain, position_increment_gap=10, type=text, index_options=offsets}}}, file_media_type={analyzer=lowercase_keyword, type=text, index_options=docs}, coordinates={type=nested, properties={country={analyzer=keyword, type=text, index_options=docs}, coord={type=geo_point}, globe={analyzer=keyword, type=text, index_options=docs}, name={type=text}, dim={type=double}, region={analyzer=keyword, type=text, index_options=docs}, type={analyzer=keyword, type=text, index_options=docs}, primary={type=boolean}}}, file_bits={type=long}, suggest={similarity=arrays, analyzer=suggest, type=text, index_options=freqs}, file_size={type=long}, external_link={analyzer=keyword, type=text, index_options=docs}, namespace_text={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, text_bytes={type=long}, incoming_links={type=long}, category={copy_to=[all, all, all, all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={lowercase_keyword={similarity=arrays, analyzer=lowercase_keyword, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, outgoing_link={analyzer=keyword, type=text, index_options=docs}, popularity_score={type=double}}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [content]: Root mapping definition has unsupported parameters: [namespace : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, name={analyzer=near_match_asciifolding, type=text, index_options=docs}}}] [archive : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, title={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}}}] [page : {dynamic=false, _all=[], properties={file_width={type=long}, template={analyzer=lowercase_keyword, type=text, index_options=docs}, content_model={analyzer=keyword, type=text, index_options=docs}, opening_text={copy_to=[all, all, all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, wiki={analyzer=keyword, type=text, index_options=docs}, auxiliary_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, language={analyzer=keyword, type=text, index_options=docs}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}, file_resolution={type=long}, file_mime={search_analyzer=short_text_search, analyzer=short_text, type=text}, file_height={type=long}, file_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, local_sites_with_dupe={analyzer=lowercase_keyword, type=text, index_options=docs}, text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={word_count={analyzer=plain, store=, type=token_count}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, all_near_match={similarity=BM25, analyzer=near_match, type=text, fields={asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=freqs}}, index_options=freqs}, timestamp={format=dateOptionalTime, type=date}, all={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, redirect={dynamic=false, properties={namespace={type=long}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=arrays, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=arrays, analyzer=prefix_asciifolding, type=text, index_options=offsets}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}, prefix={search_analyzer=near_match, similarity=arrays, analyzer=prefix, type=text, index_options=offsets}, keyword={similarity=arrays, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=arrays, analyzer=near_match_asciifolding, type=text, index_options=offsets}, near_match={similarity=arrays, analyzer=near_match, type=text, index_options=offsets}}, index_options=offsets}}}, wikibase_item={analyzer=keyword, type=text, index_options=docs}, heading={copy_to=[all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, source_text={type=text, fields={trigram={analyzer=trigram, type=text, index_options=docs}, plain={search_analyzer=source_text_plain_search, similarity=BM25, analyzer=source_text_plain, position_increment_gap=10, type=text, index_options=offsets}}}, file_media_type={analyzer=lowercase_keyword, type=text, index_options=docs}, coordinates={type=nested, properties={country={analyzer=keyword, type=text, index_options=docs}, coord={type=geo_point}, globe={analyzer=keyword, type=text, index_options=docs}, name={type=text}, dim={type=double}, region={analyzer=keyword, type=text, index_options=docs}, type={analyzer=keyword, type=text, index_options=docs}, primary={type=boolean}}}, file_bits={type=long}, suggest={similarity=arrays, analyzer=suggest, type=text, index_options=freqs}, file_size={type=long}, external_link={analyzer=keyword, type=text, index_options=docs}, namespace_text={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, text_bytes={type=long}, incoming_links={type=long}, category={copy_to=[all, all, all, all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={lowercase_keyword={similarity=arrays, analyzer=lowercase_keyword, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, outgoing_link={analyzer=keyword, type=text, index_options=docs}, popularity_score={type=double}}}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [namespace : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, name={analyzer=near_match_asciifolding, type=text, index_options=docs}}}] [archive : {dynamic=false, properties={wiki={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, title={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}}}] [page : {dynamic=false, _all=[], properties={file_width={type=long}, template={analyzer=lowercase_keyword, type=text, index_options=docs}, content_model={analyzer=keyword, type=text, index_options=docs}, opening_text={copy_to=[all, all, all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, wiki={analyzer=keyword, type=text, index_options=docs}, auxiliary_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, language={analyzer=keyword, type=text, index_options=docs}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=BM25, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=BM25, analyzer=prefix_asciifolding, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}, prefix={search_analyzer=near_match, similarity=BM25, analyzer=prefix, type=text, index_options=docs}, keyword={similarity=BM25, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=docs}, near_match={similarity=BM25, analyzer=near_match, type=text, index_options=docs}}}, file_resolution={type=long}, file_mime={search_analyzer=short_text_search, analyzer=short_text, type=text}, file_height={type=long}, file_text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, local_sites_with_dupe={analyzer=lowercase_keyword, type=text, index_options=docs}, text={copy_to=[all], search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={word_count={analyzer=plain, store=, type=token_count}, plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, all_near_match={similarity=BM25, analyzer=near_match, type=text, fields={asciifolding={similarity=BM25, analyzer=near_match_asciifolding, type=text, index_options=freqs}}, index_options=freqs}, timestamp={format=dateOptionalTime, type=date}, all={search_analyzer=text_search, similarity=BM25, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=BM25, analyzer=plain, position_increment_gap=10, type=text}}}, redirect={dynamic=false, properties={namespace={type=long}, title={copy_to=[suggest, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match, all_near_match], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={trigram={similarity=arrays, analyzer=trigram, type=text, index_options=docs}, prefix_asciifolding={search_analyzer=near_match_asciifolding, similarity=arrays, analyzer=prefix_asciifolding, type=text, index_options=offsets}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}, prefix={search_analyzer=near_match, similarity=arrays, analyzer=prefix, type=text, index_options=offsets}, keyword={similarity=arrays, analyzer=keyword, type=text, index_options=docs}, near_match_asciifolding={similarity=arrays, analyzer=near_match_asciifolding, type=text, index_options=offsets}, near_match={similarity=arrays, analyzer=near_match, type=text, index_options=offsets}}, index_options=offsets}}}, wikibase_item={analyzer=keyword, type=text, index_options=docs}, heading={copy_to=[all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, source_text={type=text, fields={trigram={analyzer=trigram, type=text, index_options=docs}, plain={search_analyzer=source_text_plain_search, similarity=BM25, analyzer=source_text_plain, position_increment_gap=10, type=text, index_options=offsets}}}, file_media_type={analyzer=lowercase_keyword, type=text, index_options=docs}, coordinates={type=nested, properties={country={analyzer=keyword, type=text, index_options=docs}, coord={type=geo_point}, globe={analyzer=keyword, type=text, index_options=docs}, name={type=text}, dim={type=double}, region={analyzer=keyword, type=text, index_options=docs}, type={analyzer=keyword, type=text, index_options=docs}, primary={type=boolean}}}, file_bits={type=long}, suggest={similarity=arrays, analyzer=suggest, type=text, index_options=freqs}, file_size={type=long}, external_link={analyzer=keyword, type=text, index_options=docs}, namespace_text={analyzer=keyword, type=text, index_options=docs}, namespace={type=long}, text_bytes={type=long}, incoming_links={type=long}, category={copy_to=[all, all, all, all, all, all, all, all], search_analyzer=text_search, similarity=arrays, analyzer=text, position_increment_gap=10, type=text, fields={lowercase_keyword={similarity=arrays, analyzer=lowercase_keyword, type=text, index_options=docs}, plain={search_analyzer=plain_search, similarity=arrays, analyzer=plain, position_increment_gap=10, type=text, index_options=offsets}}, index_options=offsets}, outgoing_link={analyzer=keyword, type=text, index_options=docs}, popularity_score={type=double}}}]"
}
},
"status": 400
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment