Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to use overrideTypeMappings - Elasticsearch configurations
I try to follow the following link https://dev.liferay.com/ca/discover/deployment/-/knowledge_base/7-0/configuring-elasticsearch-for-liferay-0 to override the template_bg with a custom analyzer.
So I copy all mappings
from: http://localhost:9200/liferay-20116/_mapping/LiferayDocumentType?pretty.
Then I delete 2-4 lines and the concluding three curly braces.
Finally I ovirride that template:
template_bg: {
mapping: {
analyzer:
"my_custom_analyzer",
term_vector:
"with_positions_offsets",
index:
"analyzed",
store: "true",
type:
"string"
},
match:
"bulgarian_*",
match_mapping_type: "string",
match_pattern: "regex"
}
After a reindex all the template_bg does not use my custom analyzer.
How can I use overrideTypeMappings property?
Hi PG,
Try following this steps:
- Download original liferay-type-mappings.json from github.
- Remove second line of JSON file:
"LiferayDocumentType": {
- Remove last curly brace of JSON file:
}
- Change JSON file with your changes (template_bg configuration) and set it in overrideTypeMappings configuration field.
- Stop Liferay
- Manually delete Elasticsearch indices from Elasticsearch client.
- Start Liferay
- Execute a full reindex
Check Elasticsearch mappings, it should use new mapping configuration.
Regards,
Jorge
Hi Jorge,
I try to download the following mapping from github but in this way the reindex does not work. Is this the correct liferay-type-mappings.json ?
{
date_detection: false,
dynamic_templates: [
{
template_long_sortable: {
mapping: {
index: "not_analyzed",
store: "true",
type: "long"
},
match: "*_sortable",
match_mapping_type: "long"
}
},
{
template_string_sortable: {
mapping: {
index: "not_analyzed",
store: "true",
type: "string"
},
match: "*_sortable",
match_mapping_type: "string"
}
},
{
template_geolocation: {
mapping: {
index: "not_analyzed",
lat_lon: true,
store: true,
type: "geo_point"
},
match: "*_geolocation"
}
},
{
template_assetCategoryTitles: {
mapping: {
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "assetCategoryTitles*",
match_mapping_type: "string"
}
},
{
template_ddm_keyword: {
mapping: {
index: "not_analyzed",
store: "true",
type: "string"
},
match: "ddm__keyword__*",
match_mapping_type: "string"
}
},
{
template_expando_keyword: {
mapping: {
analyzer: "keyword_lowercase",
store: "true",
type: "string"
},
match: "expando__keyword__*",
match_mapping_type: "string"
}
},
{
template_ar: {
mapping: {
analyzer: "arabic",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ar\b|\w+_ar_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_bg: {
mapping: {
analyzer: "bulgarian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_bg\b|\w+_bg_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_ca: {
mapping: {
analyzer: "catalan",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ca\b|\w+_ca_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_cs: {
mapping: {
analyzer: "czech",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_cs\b|\w+_cs_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_da: {
mapping: {
analyzer: "danish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_da\b|\w+_da_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_de: {
mapping: {
analyzer: "german",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_de\b|\w+_de_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_el: {
mapping: {
analyzer: "greek",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_el\b|\w+_el_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_en: {
mapping: {
analyzer: "english",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_en\b|\w+_en_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_es: {
mapping: {
analyzer: "spanish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_es\b|\w+_es_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_eu: {
mapping: {
analyzer: "basque",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_eu\b|\w+_eu_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_fi: {
mapping: {
analyzer: "finnish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_fi\b|\w+_fi_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_fr: {
mapping: {
analyzer: "french",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_fr\b|\w+_fr_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_hi: {
mapping: {
analyzer: "hindi",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_hi\b|\w+_hi_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_hu: {
mapping: {
analyzer: "hungarian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_hu\b|\w+_hu_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_hy: {
mapping: {
analyzer: "armenian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_hy\b|\w+_hy_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_id: {
mapping: {
analyzer: "indonesian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_id\b|\w+_id_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_it: {
mapping: {
analyzer: "italian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_it\b|\w+_it_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_ja: {
mapping: {
analyzer: "kuromoji",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ja\b|\w+_ja_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_ko: {
mapping: {
analyzer: "cjk",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ko\b|\w+_ko_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_nl: {
mapping: {
analyzer: "dutch",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_nl\b|\w+_nl_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_no: {
mapping: {
analyzer: "norwegian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_nb\b|\w+_nb_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_pl: {
mapping: {
analyzer: "polish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_pl\b|\w+_pl_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_pt: {
mapping: {
analyzer: "portuguese",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_pt\b|\w+_pt_PT\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_pt_br: {
mapping: {
analyzer: "brazilian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "*_pt_BR",
match_mapping_type: "string"
}
},
{
template_ro: {
mapping: {
analyzer: "romanian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ro\b|\w+_ro_RO\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_ru: {
mapping: {
analyzer: "russian",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_ru\b|\w+_ru_RU\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_sv: {
mapping: {
analyzer: "swedish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_sv\b|\w+_sv_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_th: {
mapping: {
analyzer: "thai",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_th\b|\w+_th_TH\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_tr: {
mapping: {
analyzer: "turkish",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_tr\b|\w+_tr_TR\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_zh: {
mapping: {
analyzer: "smartcn",
index: "analyzed",
store: "true",
term_vector: "with_positions_offsets",
type: "string"
},
match: "\w+_zh\b|\w+_zh_[A-Z]{2}\b",
match_mapping_type: "string",
match_pattern: "regex"
}
},
{
template_ddm: {
mapping: {
index: "analyzed",
store: "true",
type: "string"
},
match: "ddm__*",
match_mapping_type: "string"
}
},
{
template_expando: {
mapping: {
index: "analyzed",
store: "true",
type: "string"
},
match: "expando__*",
match_mapping_type: "string"
}
}
],
properties: {
ancestorOrganizationIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
articleId: {
analyzer: "keyword_lowercase",
store: "yes",
type: "string"
},
assetCategoryId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
assetCategoryIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
assetTagId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
assetTagIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
assetTagNames: {
fields: {
raw: {
index: "not_analyzed",
type: "string"
}
},
store: "yes",
term_vector: "with_positions_offsets",
type: "string"
},
assetVocabularyId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
assetVocabularyIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
classTypeId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
companyId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
configurationModelAttributeName: {
index: "not_analyzed",
store: "yes",
type: "string"
},
configurationModelFactoryPid: {
index: "not_analyzed",
store: "yes",
type: "string"
},
configurationModelId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
content: {
index: "analyzed",
store: "yes",
term_vector: "with_positions_offsets",
type: "string"
},
createDate: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
dataRepositoryId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
ddmContent: {
index: "analyzed",
store: "yes",
term_vector: "with_positions_offsets",
type: "string"
},
ddmStructureKey: {
index: "not_analyzed",
store: "yes",
type: "string"
},
ddmTemplateKey: {
index: "not_analyzed",
store: "yes",
type: "string"
},
description: {
index: "analyzed",
store: "yes",
term_vector: "with_positions_offsets",
type: "string"
},
discussion: {
index: "not_analyzed",
store: "yes",
type: "string"
},
displayDate: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
emailAddress: {
index: "not_analyzed",
store: "yes",
type: "string"
},
endTime: {
index: "not_analyzed",
store: "yes",
type: "long"
},
entryClassName: {
index: "not_analyzed",
store: "yes",
type: "string"
},
entryClassPK: {
index: "not_analyzed",
store: "yes",
type: "string"
},
expirationDate: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
extension: {
index: "not_analyzed",
store: "yes",
type: "string"
},
fileEntryTypeId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
folderId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
geoLocation: {
index: "not_analyzed",
lat_lon: true,
store: "yes",
type: "geo_point"
},
groupId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
groupIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
groupRoleId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
head: {
index: "not_analyzed",
store: "yes",
type: "string"
},
hidden: {
index: "not_analyzed",
store: "yes",
type: "string"
},
id: {
index: "not_analyzed",
store: "yes",
type: "string"
},
languageId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
layoutUuid: {
index: "not_analyzed",
store: "yes",
type: "string"
},
leftOrganizationId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
mimeType: {
index: "not_analyzed",
store: "yes",
type: "string"
},
modified: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
nodeId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
organizationId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
organizationIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
parentCategoryId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
parentCategoryIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
parentOrganizationId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
path: {
index: "not_analyzed",
store: "yes",
type: "string"
},
priority: {
index: "not_analyzed",
store: "yes",
type: "double"
},
properties: {
index: "not_analyzed",
store: "yes",
type: "string"
},
publishDate: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
readCount: {
index: "not_analyzed",
store: "yes",
type: "string"
},
recordSetId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
removedByUser: {
index: "not_analyzed",
type: "string"
},
removedDate: {
format: "yyyyMMddHHmmss",
index: "not_analyzed",
store: "yes",
type: "date"
},
rightOrganizationId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
roleId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
roleIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
rootEntryClassName: {
index: "not_analyzed",
store: "yes",
type: "string"
},
rootEntryClassPK: {
index: "not_analyzed",
store: "yes",
type: "string"
},
scopeGroupId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
screenName: {
index: "not_analyzed",
store: "yes",
type: "string"
},
size: {
index: "not_analyzed",
store: "yes",
type: "string"
},
status: {
index: "not_analyzed",
store: "yes",
type: "string"
},
subtitle: {
index: "analyzed",
store: "yes",
type: "string"
},
teamIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
threadId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
title: {
index: "analyzed",
store: "yes",
term_vector: "with_positions_offsets",
type: "string"
},
treePath: {
index: "not_analyzed",
store: "yes",
type: "string"
},
type: {
index: "not_analyzed",
store: "yes",
type: "string"
},
uid: {
index: "not_analyzed",
store: "yes",
type: "string"
},
userGroupId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
userGroupIds: {
index: "not_analyzed",
store: "yes",
type: "string"
},
userId: {
index: "not_analyzed",
store: "yes",
type: "string"
},
userName: {
index: "not_analyzed",
store: "yes",
type: "string"
},
version: {
index: "not_analyzed",
store: "yes",
type: "string"
},
visible: {
index: "not_analyzed",
store: "yes",
type: "string"
}
}
}
Hi Jorge.
I download the following file from github:
https://github.com/liferay/liferay-portal/blob/7.0.x/modules/apps/foundation/portal-search/portal-search-elasticsearch/src/main/resources/META-INF/mappings/liferay-type-mappings.json
Then I delete the second line and the correspondi curly brace and I edit, as you suggest me, the mapping for the bulgarian template changing the regex. Afterwards I stop my liferay (and Elasticsearch too because in my local env I'm using an embedded engine) and I restart it again. I delete all the indexes using a curl:
curl -X DELETE 'http://localhost:9200/_all'
and I try a full reindex but it does not work with this error:
2018-11-05 09:19:36.617 ERROR
[liferay/background_task-1][SearchEngineInitializer:154] Error
encountered while reindexing
java.lang.IllegalStateException:
UncategorizedExecutionException[Failed execution]; nested:
ExecutionException[com.fasterxml.jackson.core.JsonParseException:
Unrecognized character escape 'w' (code 119)_ at [Source:
{_date_detection: false,_dynamic_templates:
[_{_template_long_sortable: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"long"_},_match: "*_sortable",_match_mapping_type:
"long"_}_},_{_template_string_sortable: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"string"_},_match:
"*_sortable",_match_mapping_type:
"string"_}_},_{_template_geolocation: {_mapping: {_index:
"not_analyzed",_lat_lon: true,_store: true,_type:
"geo_point"_},_match:
"*_geolocation"_}_},_{_template_assetCategoryTitles:
{_mapping: {_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"assetCategoryTitles*",_match_mapping_type:
"string"_}_},_{_template_ddm_keyword: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"string"_},_match:
"ddm__keyword__*",_match_mapping_type:
"string"_}_},_{_template_expando_keyword: {_mapping:
{_analyzer: "keyword_lowercase",_store:
"true",_type: "string"_},_match:
"expando__keyword__*",_match_mapping_type:
"string"_}_},_{_template_ar: {_mapping: {_analyzer:
"arabic",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ar\b|\w+_ar_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_bg: {_mapping: {_analyzer:
"bulgarian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"bulgarian__*",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ca: {_mapping: {_analyzer:
"catalan",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ca\b|\w+_ca_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_cs: {_mapping: {_analyzer:
"czech",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_cs\b|\w+_cs_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_da: {_mapping: {_analyzer:
"danish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_da\b|\w+_da_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_de: {_mapping: {_analyzer:
"german",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_de\b|\w+_de_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_el: {_mapping: {_analyzer:
"greek",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_el\b|\w+_el_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_en: {_mapping: {_analyzer:
"english",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_en\b|\w+_en_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_es: {_mapping: {_analyzer:
"spanish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_es\b|\w+_es_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_eu: {_mapping: {_analyzer:
"basque",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_eu\b|\w+_eu_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_fi: {_mapping: {_analyzer:
"finnish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_fi\b|\w+_fi_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_fr: {_mapping: {_analyzer:
"french",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_fr\b|\w+_fr_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hi: {_mapping: {_analyzer:
"hindi",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hi\b|\w+_hi_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hu: {_mapping: {_analyzer:
"hungarian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hu\b|\w+_hu_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hy: {_mapping: {_analyzer:
"armenian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hy\b|\w+_hy_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_id: {_mapping: {_analyzer:
"indonesian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_id\b|\w+_id_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_it: {_mapping: {_analyzer:
"italian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_it\b|\w+_it_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ja: {_mapping: {_analyzer:
"kuromoji",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ja\b|\w+_ja_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ko: {_mapping: {_analyzer:
"cjk",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ko\b|\w+_ko_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_nl: {_mapping: {_analyzer:
"dutch",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_nl\b|\w+_nl_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_no: {_mapping: {_analyzer:
"norwegian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_nb\b|\w+_nb_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pl: {_mapping: {_analyzer:
"polish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_pl\b|\w+_pl_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pt: {_mapping: {_analyzer:
"portuguese",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_pt\b|\w+_pt_PT\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pt_br: {_mapping: {_analyzer:
"brazilian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"*_pt_BR",_match_mapping_type:
"string"_}_},_{_template_ro: {_mapping: {_analyzer:
"romanian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ro\b|\w+_ro_RO\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ru: {_mapping: {_analyzer:
"russian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ru\b|\w+_ru_RU\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_sv: {_mapping: {_analyzer:
"swedish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_sv\b|\w+_sv_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_th: {_mapping: {_analyzer:
"thai",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_th\b|\w+_th_TH\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_tr: {_mapping: {_analyzer:
"turkish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_tr\b|\w+_tr_TR\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_zh: {_mapping: {_analyzer:
"smartcn",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_zh\b|\w+_zh_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ddm: {_mapping: {_index:
"analyzed",_store: "true",_type:
"string"_},_match: "ddm__*",_match_mapping_type:
"string"_}_},_{_template_expando: {_mapping: {_index:
"analyzed",_store: "true",_type:
"string"_},_match:
"expando__*",_match_mapping_type:
"string"_}_}_],_properties: {_ancestorOrganizationIds:
{_index: "not_analyzed",_store: "yes",_type:
"string"_},_articleId: {_analyzer:
"keyword_lowercase",_store: "yes",_type:
"string"_},_assetCategoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetCategoryIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagNames: {_fields: {_raw: {_index:
"not_analyzed",_type: "string"_}_},_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_assetVocabularyId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetVocabularyIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_classTypeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_companyId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelAttributeName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelFactoryPid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_content: {_index: "analyzed",_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_createDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_dataRepositoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_ddmContent: {_index:
"analyzed",_store: "yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_ddmStructureKey: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_ddmTemplateKey: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_description: {_index:
"analyzed",_store: "yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_discussion: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_displayDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_emailAddress: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_endTime: {_index:
"not_analyzed",_store: "yes",_type:
"long"_},_entryClassName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_entryClassPK: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_expirationDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_extension: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_fileEntryTypeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_folderId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_geoLocation: {_index:
"not_analyzed",_lat_lon: true,_store: "yes",_type:
"geo_point"_},_groupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_groupIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_groupRoleId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_head: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_hidden: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_id: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_languageId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_layoutUuid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_leftOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_mimeType: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_modified: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_nodeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_organizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_organizationIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentCategoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentCategoryIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_path: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_priority: {_index:
"not_analyzed",_store: "yes",_type:
"double"_},_properties: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_publishDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_readCount: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_recordSetId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_removedByUser: {_index:
"not_analyzed",_type: "string"_},_removedDate:
{_format: "yyyyMMddHHmmss",_index:
"not_analyzed",_store: "yes",_type:
"date"_},_rightOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_roleId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_roleIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_rootEntryClassName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_rootEntryClassPK: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_scopeGroupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_screenName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_size: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_status: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_subtitle: {_index: "analyzed",_store:
"yes",_type: "string"_},_teamIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_threadId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_title: {_index: "analyzed",_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_treePath: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_type: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_uid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userGroupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userGroupIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_version: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_visible: {_index:
"not_analyzed",_store: "yes",_type:
"string"_}_}_}; line: 80, column: 11]]; nested:
JsonParseException[Unrecognized character escape 'w' (code 119)_ at
[Source: {_date_detection: false,_dynamic_templates:
[_{_template_long_sortable: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"long"_},_match: "*_sortable",_match_mapping_type:
"long"_}_},_{_template_string_sortable: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"string"_},_match:
"*_sortable",_match_mapping_type:
"string"_}_},_{_template_geolocation: {_mapping: {_index:
"not_analyzed",_lat_lon: true,_store: true,_type:
"geo_point"_},_match:
"*_geolocation"_}_},_{_template_assetCategoryTitles:
{_mapping: {_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"assetCategoryTitles*",_match_mapping_type:
"string"_}_},_{_template_ddm_keyword: {_mapping: {_index:
"not_analyzed",_store: "true",_type:
"string"_},_match:
"ddm__keyword__*",_match_mapping_type:
"string"_}_},_{_template_expando_keyword: {_mapping:
{_analyzer: "keyword_lowercase",_store:
"true",_type: "string"_},_match:
"expando__keyword__*",_match_mapping_type:
"string"_}_},_{_template_ar: {_mapping: {_analyzer:
"arabic",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ar\b|\w+_ar_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_bg: {_mapping: {_analyzer:
"bulgarian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"bulgarian__*",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ca: {_mapping: {_analyzer:
"catalan",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ca\b|\w+_ca_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_cs: {_mapping: {_analyzer:
"czech",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_cs\b|\w+_cs_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_da: {_mapping: {_analyzer:
"danish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_da\b|\w+_da_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_de: {_mapping: {_analyzer:
"german",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_de\b|\w+_de_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_el: {_mapping: {_analyzer:
"greek",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_el\b|\w+_el_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_en: {_mapping: {_analyzer:
"english",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_en\b|\w+_en_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_es: {_mapping: {_analyzer:
"spanish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_es\b|\w+_es_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_eu: {_mapping: {_analyzer:
"basque",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_eu\b|\w+_eu_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_fi: {_mapping: {_analyzer:
"finnish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_fi\b|\w+_fi_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_fr: {_mapping: {_analyzer:
"french",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_fr\b|\w+_fr_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hi: {_mapping: {_analyzer:
"hindi",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hi\b|\w+_hi_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hu: {_mapping: {_analyzer:
"hungarian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hu\b|\w+_hu_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_hy: {_mapping: {_analyzer:
"armenian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_hy\b|\w+_hy_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_id: {_mapping: {_analyzer:
"indonesian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_id\b|\w+_id_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_it: {_mapping: {_analyzer:
"italian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_it\b|\w+_it_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ja: {_mapping: {_analyzer:
"kuromoji",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ja\b|\w+_ja_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ko: {_mapping: {_analyzer:
"cjk",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ko\b|\w+_ko_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_nl: {_mapping: {_analyzer:
"dutch",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_nl\b|\w+_nl_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_no: {_mapping: {_analyzer:
"norwegian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_nb\b|\w+_nb_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pl: {_mapping: {_analyzer:
"polish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_pl\b|\w+_pl_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pt: {_mapping: {_analyzer:
"portuguese",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_pt\b|\w+_pt_PT\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_pt_br: {_mapping: {_analyzer:
"brazilian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"*_pt_BR",_match_mapping_type:
"string"_}_},_{_template_ro: {_mapping: {_analyzer:
"romanian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ro\b|\w+_ro_RO\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ru: {_mapping: {_analyzer:
"russian",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_ru\b|\w+_ru_RU\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_sv: {_mapping: {_analyzer:
"swedish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_sv\b|\w+_sv_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_th: {_mapping: {_analyzer:
"thai",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_th\b|\w+_th_TH\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_tr: {_mapping: {_analyzer:
"turkish",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_tr\b|\w+_tr_TR\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_zh: {_mapping: {_analyzer:
"smartcn",_index: "analyzed",_store:
"true",_term_vector:
"with_positions_offsets",_type: "string"_},_match:
"\w+_zh\b|\w+_zh_[A-Z]{2}\b",_match_mapping_type:
"string",_match_pattern:
"regex"_}_},_{_template_ddm: {_mapping: {_index:
"analyzed",_store: "true",_type:
"string"_},_match: "ddm__*",_match_mapping_type:
"string"_}_},_{_template_expando: {_mapping: {_index:
"analyzed",_store: "true",_type:
"string"_},_match:
"expando__*",_match_mapping_type:
"string"_}_}_],_properties: {_ancestorOrganizationIds:
{_index: "not_analyzed",_store: "yes",_type:
"string"_},_articleId: {_analyzer:
"keyword_lowercase",_store: "yes",_type:
"string"_},_assetCategoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetCategoryIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetTagNames: {_fields: {_raw: {_index:
"not_analyzed",_type: "string"_}_},_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_assetVocabularyId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_assetVocabularyIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_classTypeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_companyId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelAttributeName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelFactoryPid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_configurationModelId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_content: {_index: "analyzed",_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_createDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_dataRepositoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_ddmContent: {_index:
"analyzed",_store: "yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_ddmStructureKey: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_ddmTemplateKey: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_description: {_index:
"analyzed",_store: "yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_discussion: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_displayDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_emailAddress: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_endTime: {_index:
"not_analyzed",_store: "yes",_type:
"long"_},_entryClassName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_entryClassPK: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_expirationDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_extension: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_fileEntryTypeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_folderId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_geoLocation: {_index:
"not_analyzed",_lat_lon: true,_store: "yes",_type:
"geo_point"_},_groupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_groupIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_groupRoleId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_head: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_hidden: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_id: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_languageId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_layoutUuid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_leftOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_mimeType: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_modified: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_nodeId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_organizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_organizationIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentCategoryId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentCategoryIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_parentOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_path: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_priority: {_index:
"not_analyzed",_store: "yes",_type:
"double"_},_properties: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_publishDate: {_format:
"yyyyMMddHHmmss",_index: "not_analyzed",_store:
"yes",_type: "date"_},_readCount: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_recordSetId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_removedByUser: {_index:
"not_analyzed",_type: "string"_},_removedDate:
{_format: "yyyyMMddHHmmss",_index:
"not_analyzed",_store: "yes",_type:
"date"_},_rightOrganizationId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_roleId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_roleIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_rootEntryClassName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_rootEntryClassPK: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_scopeGroupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_screenName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_size: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_status: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_subtitle: {_index: "analyzed",_store:
"yes",_type: "string"_},_teamIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_threadId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_title: {_index: "analyzed",_store:
"yes",_term_vector:
"with_positions_offsets",_type:
"string"_},_treePath: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_type: {_index: "not_analyzed",_store:
"yes",_type: "string"_},_uid: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userGroupId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userGroupIds: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userId: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_userName: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_version: {_index:
"not_analyzed",_store: "yes",_type:
"string"_},_visible: {_index:
"not_analyzed",_store: "yes",_type:
"string"_}_}_}; line: 80, column: 11]]; [Sanitized]
at
com.liferay.portal.search.elasticsearch.internal.ElasticsearchSearchEngine.initialize(ElasticsearchSearchEngine.java:121)
at
com.liferay.portal.kernel.search.SearchEngineProxyWrapper.initialize(SearchEngineProxyWrapper.java:95)
at
com.liferay.portal.search.internal.SearchEngineHelperImpl.initialize(SearchEngineHelperImpl.java:209)
at
com.liferay.portal.kernel.search.SearchEngineHelperUtil.initialize(SearchEngineHelperUtil.java:83)
at
com.liferay.portal.search.internal.SearchEngineInitializer.doReIndex(SearchEngineInitializer.java:107)
at
com.liferay.portal.search.internal.SearchEngineInitializer.reindex(SearchEngineInitializer.java:67)
at
com.liferay.portal.search.internal.SearchEngineInitializer.reindex(SearchEngineInitializer.java:63)
at
com.liferay.portal.search.internal.background.task.ReindexPortalBackgroundTaskExecutor.reindex(ReindexPortalBackgroundTaskExecutor.java:56)
at
com.liferay.portal.search.internal.background.task.ReindexBackgroundTaskExecutor.execute(ReindexBackgroundTaskExecutor.java:54)
at
com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:43)
at
com.liferay.portal.kernel.backgroundtask.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:56)
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:125)
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
at
com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
at
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
at
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
at java.lang.Thread.run(Thread.java:748)
Thanks for your help
For some extrange reason, your JSON lacks some quotes (") and some double backslash chars (\\)
Try using the overrideTypeMappings.json file attached in this comment.
Attachments:
Okay thanks.
I'll try and I'll give you a feedback. Thanks
Powered by Liferay™