Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to ES 8.16 #1

Open
ymarcon opened this issue Dec 4, 2024 · 2 comments
Open

upgrade to ES 8.16 #1

ymarcon opened this issue Dec 4, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ymarcon
Copy link
Member

ymarcon commented Dec 4, 2024

Currently it does not compile with 8.16.1:

[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/ESSearcher.java:[127,54] cannot find symbol
[ERROR]   symbol:   method of((g)->g)
[ERROR]   location: class co.elastic.clients.elasticsearch._types.aggregations.GlobalAggregation
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/ESSearcher.java:[208,56] cannot find symbol
[ERROR]   symbol:   method of((g)->g)
[ERROR]   location: class co.elastic.clients.elasticsearch._types.aggregations.GlobalAggregation
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/ESSearcher.java:[262,56] cannot find symbol
[ERROR]   symbol:   method of((g)->g)
[ERROR]   location: class co.elastic.clients.elasticsearch._types.aggregations.GlobalAggregation
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/ESSearcher.java:[312,56] cannot find symbol
[ERROR]   symbol:   method of((g)->g)
[ERROR]   location: class co.elastic.clients.elasticsearch._types.aggregations.GlobalAggregation
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/support/AggregationParser.java:[123,86] incompatible types: java.lang.String cannot be converted to java.lang.Double
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/support/AggregationParser.java:[125,88] incompatible types: java.lang.String cannot be converted to java.lang.Double
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/support/AggregationParser.java:[127,88] incompatible types: java.lang.String cannot be converted to java.lang.Double
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[447,62] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: class co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[457,20] cannot find symbol
[ERROR]   symbol:   method lt(co.elastic.clients.json.JsonData)
[ERROR]   location: variable builder of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[459,20] cannot find symbol
[ERROR]   symbol:   method gte(co.elastic.clients.json.JsonData)
[ERROR]   location: variable builder of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[461,20] cannot find symbol
[ERROR]   symbol:   method gte(co.elastic.clients.json.JsonData)
[ERROR]   location: variable builder of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[462,20] cannot find symbol
[ERROR]   symbol:   method lt(co.elastic.clients.json.JsonData)
[ERROR]   location: variable builder of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[512,34] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: variable q of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[520,34] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: variable q of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[528,34] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: variable q of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[536,34] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: variable q of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
[ERROR] /home/yannick/projects/mica-search-es8/src/main/java/org/obiba/es/mica/query/RQLQuery.java:[544,34] cannot find symbol
[ERROR]   symbol:   method field(java.lang.String)
[ERROR]   location: variable q of type co.elastic.clients.elasticsearch._types.query_dsl.RangeQuery.Builder
@ymarcon ymarcon added the enhancement New feature or request label Dec 4, 2024
@kazoompa
Copy link
Member

kazoompa commented Dec 4, 2024

The Mica is currently compatible with the ES8 version I had left in the docker-mica.

I had started upgrading the plugin but never got to finish it. I will take a look, some APIs have changed again.

@kazoompa
Copy link
Member

kazoompa commented Dec 5, 2024

Created a new branch but still have errors ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants