Cannot compile elasticsearch 0.90.3 with Maven. What JAR dependencies have been removed?

We are trying to update our elasticsearch from 0.20.5 to 0.90.3. We are
able to compile elasticsearch until version 0.90.0.

What is halting the compile is messing methods in SearchResponse.java and
other response classes.

ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[146,17]
cannot find symbol
[ERROR] symbol: method hits()
[ERROR] location: variable response of type
org.elasticsearch.action.search.SearchResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[172,17]
cannot find symbol
[ERROR] symbol: method exists()
[ERROR] location: variable response of type
org.elasticsearch.action.get.GetResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[173,22]
cannot find symbol
[ERROR] symbol: method sourceAsMap()
[ERROR] location: variable response of type
org.elasticsearch.action.get.GetResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[187,20]
cannot find symbol
[ERROR] symbol: method exists()
[ERROR] location: variable response of type
org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[325,28]
cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type
org.elasticsearch.action.admin.indices.mapping.put.PutMappingResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[653,41]
cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type
org.elasticsearch.action.admin.indices.create.CreateIndexResponse
[ERROR]
/Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[688,17]
cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type
org.elasticsearch.action.admin.indices.create.CreateIndexResponse

According to Jarzilla, all of these classes are in elasticsearch-0.90.3.jar
as expected. I'm guessing that one or more of these classes has a
dependency on one or more jars that were previously packaged with the
elasticsearch jar but are no longer included as of 0.90.0. So far I have
tried adding dependency entries for all the Lucene jars to my Maven pom.xml
file but these did not eliminate the compile errors.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Some methods have been replaced.
For example, hits() is now getHits().

You have to fix your code.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 août 2013 à 22:01, Paolo Valladolid pvalladolid@gmail.com a écrit :

We are trying to update our elasticsearch from 0.20.5 to 0.90.3. We are able to compile elasticsearch until version 0.90.0.

What is halting the compile is messing methods in SearchResponse.java and other response classes.

ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[146,17] cannot find symbol
[ERROR] symbol: method hits()
[ERROR] location: variable response of type org.elasticsearch.action.search.SearchResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[172,17] cannot find symbol
[ERROR] symbol: method exists()
[ERROR] location: variable response of type org.elasticsearch.action.get.GetResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[173,22] cannot find symbol
[ERROR] symbol: method sourceAsMap()
[ERROR] location: variable response of type org.elasticsearch.action.get.GetResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[187,20] cannot find symbol
[ERROR] symbol: method exists()
[ERROR] location: variable response of type org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[325,28] cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type org.elasticsearch.action.admin.indices.mapping.put.PutMappingResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[653,41] cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type org.elasticsearch.action.admin.indices.create.CreateIndexResponse
[ERROR] /Users/pvalladolid/Documents/workspace/prss-2.0/cd-project/application/search/src/main/java/org/prss/contentdepot/search/service/ElasticSearchClient.java:[688,17] cannot find symbol
[ERROR] symbol: method acknowledged()
[ERROR] location: variable response of type org.elasticsearch.action.admin.indices.create.CreateIndexResponse

According to Jarzilla, all of these classes are in elasticsearch-0.90.3.jar as expected. I'm guessing that one or more of these classes has a dependency on one or more jars that were previously packaged with the elasticsearch jar but are no longer included as of 0.90.0. So far I have tried adding dependency entries for all the Lucene jars to my Maven pom.xml file but these did not eliminate the compile errors.

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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.