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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.