-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deleted language specific obj from mappings.json
- Loading branch information
Sander
committed
Dec 15, 2014
1 parent
b4c5d42
commit b7e6ff3
Showing
1 changed file
with
1 addition
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,140 +47,34 @@ | |
}, | ||
"city": { | ||
"properties": { | ||
"de": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.de" | ||
] | ||
}, | ||
"default": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.default" | ||
] | ||
}, | ||
"en": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.en" | ||
] | ||
}, | ||
"fr": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.fr" | ||
] | ||
}, | ||
"it": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.it" | ||
] | ||
}, | ||
"nl": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.nl" | ||
] | ||
} | ||
} | ||
}, | ||
"context": { | ||
"properties": { | ||
"de": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.default", | ||
"collector.de" | ||
] | ||
}, | ||
"default": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.default" | ||
] | ||
}, | ||
"en": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.en" | ||
] | ||
}, | ||
"fr": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.fr" | ||
] | ||
}, | ||
"it": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.it" | ||
] | ||
}, | ||
"nl": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.nl" | ||
] | ||
} | ||
} | ||
}, | ||
"country": { | ||
"properties": { | ||
"de": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.de" | ||
] | ||
}, | ||
"default": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.default" | ||
] | ||
}, | ||
"en": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.en" | ||
] | ||
}, | ||
"fr": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.fr" | ||
] | ||
}, | ||
"it": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.it" | ||
] | ||
}, | ||
"nl": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.nl" | ||
] | ||
} | ||
} | ||
}, | ||
|
@@ -239,101 +133,11 @@ | |
"collector.default" | ||
] | ||
}, | ||
"de": { | ||
"type": "string", | ||
"index": "no", | ||
"fields": { | ||
"ngrams": { | ||
"type": "string", | ||
"index_analyzer": "index_ngram" | ||
}, | ||
"raw": { | ||
"type": "string", | ||
"index_analyzer": "index_raw" | ||
} | ||
}, | ||
"copy_to": [ | ||
"collector.de" | ||
] | ||
}, | ||
"default": { | ||
"type": "string", | ||
"index": "no", | ||
"copy_to": [ | ||
"collector.default", | ||
"name.en", | ||
"name.de", | ||
"name.fr", | ||
"name.it", | ||
"name.nl" | ||
] | ||
}, | ||
"en": { | ||
"type": "string", | ||
"index": "no", | ||
"fields": { | ||
"ngrams": { | ||
"type": "string", | ||
"index_analyzer": "index_ngram" | ||
}, | ||
"raw": { | ||
"type": "string", | ||
"index_analyzer": "index_raw" | ||
} | ||
}, | ||
"copy_to": [ | ||
"collector.en" | ||
] | ||
}, | ||
"fr": { | ||
"type": "string", | ||
"index": "no", | ||
"fields": { | ||
"ngrams": { | ||
"type": "string", | ||
"index_analyzer": "index_ngram" | ||
}, | ||
"raw": { | ||
"type": "string", | ||
"index_analyzer": "index_raw" | ||
} | ||
}, | ||
"copy_to": [ | ||
"collector.fr" | ||
] | ||
}, | ||
"it": { | ||
"type": "string", | ||
"index": "no", | ||
"fields": { | ||
"ngrams": { | ||
"type": "string", | ||
"index_analyzer": "index_ngram" | ||
}, | ||
"raw": { | ||
"type": "string", | ||
"index_analyzer": "index_raw" | ||
} | ||
}, | ||
"copy_to": [ | ||
"collector.it" | ||
] | ||
}, | ||
"nl": { | ||
"type": "string", | ||
"index": "no", | ||
"fields": { | ||
"ngrams": { | ||
"type": "string", | ||
"index_analyzer": "index_ngram" | ||
}, | ||
"raw": { | ||
"type": "string", | ||
"index_analyzer": "index_raw" | ||
} | ||
}, | ||
"copy_to": [ | ||
"collector.nl" | ||
"collector.default" | ||
] | ||
} | ||
} | ||
|
@@ -347,41 +151,6 @@ | |
"copy_to": [ | ||
"collector.default" | ||
] | ||
}, | ||
"de": { | ||
"index": "no", | ||
"type": "string", | ||
"copy_to": [ | ||
"collector.de" | ||
] | ||
}, | ||
"en": { | ||
"index": "no", | ||
"type": "string", | ||
"copy_to": [ | ||
"collector.en" | ||
] | ||
}, | ||
"fr": { | ||
"index": "no", | ||
"type": "string", | ||
"copy_to": [ | ||
"collector.fr" | ||
] | ||
}, | ||
"it": { | ||
"index": "no", | ||
"type": "string", | ||
"copy_to": [ | ||
"collector.it" | ||
] | ||
}, | ||
"nl": { | ||
"index": "no", | ||
"type": "string", | ||
"copy_to": [ | ||
"collector.nl" | ||
] | ||
} | ||
} | ||
}, | ||
|
@@ -397,56 +166,6 @@ | |
"analyzer": "index_raw" | ||
} | ||
} | ||
}, | ||
"de": { | ||
"type": "string", | ||
"analyzer": "index_ngram", | ||
"fields": { | ||
"raw": { | ||
"type": "string", | ||
"analyzer": "index_raw" | ||
} | ||
} | ||
}, | ||
"en": { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
christophlingg
Member
|
||
"type": "string", | ||
"analyzer": "index_ngram", | ||
"fields": { | ||
"raw": { | ||
"type": "string", | ||
"analyzer": "index_raw" | ||
} | ||
} | ||
}, | ||
"fr": { | ||
"type": "string", | ||
"analyzer": "index_ngram", | ||
"fields": { | ||
"raw": { | ||
"type": "string", | ||
"analyzer": "index_raw" | ||
} | ||
} | ||
}, | ||
"it": { | ||
"type": "string", | ||
"analyzer": "index_ngram", | ||
"fields": { | ||
"raw": { | ||
"type": "string", | ||
"analyzer": "index_raw" | ||
} | ||
} | ||
}, | ||
"nl": { | ||
"type": "string", | ||
"analyzer": "index_ngram", | ||
"fields": { | ||
"raw": { | ||
"type": "string", | ||
"analyzer": "index_raw" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
@Svantulden i am debugging currently a problem related to localized names, you can't search for them. see #171 I compared the mapping that is created after your changes, and it seems there is a notable change:
I guess it is a bug that the
collector.de
field copies its content tocollector.de
again. in addition you introduced a new fieldngram
.Can you remember why you changed that?