Skip to content

Instantly share code, notes, and snippets.

View EikeDehling's full-sized avatar

Eike Dehling EikeDehling

  • Textkernel
  • Amsterdam
View GitHub Profile
--- a/src/main/java/org/elasticsearch/index/mapper/core/AbstractFieldMapper.java
+++ b/src/main/java/org/elasticsearch/index/mapper/core/AbstractFieldMapper.java
@@ -24,7 +24,6 @@ import com.carrotsearch.hppc.cursors.ObjectCursor;
import com.carrotsearch.hppc.cursors.ObjectObjectCursor;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList;
-
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.FieldType;
{
"posting": {
"_all": {
"enabled": false
},
"properties": {
"blogurl": {
"type": "string",
[2015-03-31 10:02:59,815][DEBUG][indices.cluster ] [Strobe] [postings-5360000000] parsed mapping [posting], and got different sources
original:
{"posting":{"_all":{"enabled":false},"properties":{"blogurl":{"type":"string","index_analyzer":"bc_indexing_analyzer","search_analyzer":"bc_query_analyzer","fielddata":{"format":"disabled"}},"body":{"type":"string","index_analyzer":"bc_indexing_analyzer","search_analyzer":"bc_query_analyzer","fielddata":{"format":"disabled"},"path":"just_name","fields":{"_text_":{"type":"string","index_analyzer":"bc_indexing_analyzer","search_analyzer":"bc_query_analyzer","fielddata":{"filter.frequency.min":"2","filter.regex.pattern":"^(?!(?:(?:maandag)|(?:dinsdag)|(?:woensdag)|(?:donderdag)|(?:vrijdag)|(?:zaterdag)|(?:zondag)|(?:citaat)|(?:christa)|(?:4sq)|(?:I)|(?:a)|(?:aan)|(?:about)|(?:ae)|(?:af)|(?:after)|(?:ajax-coach)|(?:al)|(?:all)|(?:alle)|(?:alleen)|(?:als)|(?:also)|(?:an)|(?:and)|(?:andere)|(?:anders)|(?:any)|(?:april)|(?:augustus)|(?:august)|(?:auteur)|(?:as)|(?:a
@EikeDehling
EikeDehling / gist:a015a5137ac5d99dc850
Created March 30, 2015 13:21
Elasticsearch problematic mapping (causes endless mapping refresh in our cluster)
{
"postings-0": {
"mappings": {
"posting": {
"_all": {
"enabled": false
},
"properties": {