strapdata / elassandra

Elassandra = Elasticsearch + Apache Cassandra
http://www.elassandra.io
Apache License 2.0
1.71k stars 198 forks source link

addField submapper not found for nested field [field1] index [Index_name] for metadata.version=1, not indexed #377

Open vinodss33 opened 3 years ago

vinodss33 commented 3 years ago

Mapping of certain fields added explicitly are giving submapper not found error

**I have an existing table, I added two newFields in cassandra UDT. Let say field1 and field2. Performed an elasticsearch mapping in following manner: "field1": { "type": "keyword", "index": false, "cql_collection": "singleton" }, "field1": { "type": "keyword", "index": false, "cql_collection": "singleton" }

Now my elastic search nodes are showing these logs while the mapping is present from cassandra to elastic search. Note: we are not performing any search on these two fields. These need to be part of response only. **:

Elassandra version: 6.8.4

Plugins installed: []

JVM version (java -version): JDK 1.8


2020-10-16 13:01:24,415 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field1] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,415 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field2] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,417 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field1] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,418 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field2] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,419 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field1] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,419 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field2] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,422 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field1] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:24,422 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field2] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:50,125 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field1] in index [my_index] for metadata.version=1, not indexed
2020-10-16 13:01:50,125 ERROR [MutationStage-1] ElasticSecondaryIndex.java:492 addField submapper not found for nested field [field2] in index [my_index] for metadata.version=1, not indexed
``
serversteam commented 2 years ago

any update on this ?