One more breaking change (this compiled cleanly on 9.90.3):

compile:
     [echo] debug support = true
    [javac] Compiling 79 source files to /Users/brian/proj/build/classes
    [javac] 
/Users/brian/proj/src/java/com/acme/database/FieldMapping.java:240: 
incompatible types
    [javac] found   : 
org.elasticsearch.common.collect.ImmutableOpenMap<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetaData>
    [javac] required: 
java.util.Map<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetaData>
    [javac]     Map<String, MappingMetaData> mp = 
indexMetaData.getMappings();
    [javac]                                                                ^
    [javac] 1 error

Just started to dive into the 0.90.8 upgrade. Existing code excerpt:

private IndexMetaData     indexMetaData = null;
...
Map<String, MappingMetaData> mp = indexMetaData.getMappings();

A lot of times, the breaking change list doesn't include the Java code 
changes. I suppose what would be really nice would be a corresponding link 
to the on-line Javadoc for each version to gain a quick peek during 
upgrade-base code migrations. Thanks!

Brian  

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/574dc6a2-df06-44bb-b93b-5f6daa7347a8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to