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

elasticsearch v5.6.9 FilteredQueryBuilder is deprecated #1015

Open
daddyauden opened this issue May 25, 2018 · 4 comments
Open

elasticsearch v5.6.9 FilteredQueryBuilder is deprecated #1015

daddyauden opened this issue May 25, 2018 · 4 comments

Comments

@daddyauden
Copy link

package com.impetus.client.es.index

class ESIndexer

can't import FilteredQueryBuilder

@devender-yadav
Copy link
Contributor

@jackyang1984 What exactly are you trying, please share more details.

Also check -https://github.com/Impetus/Kundera/wiki/Kundera-with-Elasticsearch

@daddyauden
Copy link
Author

@devender-yadav

    <dependency>
        <groupId>com.impetus.kundera.client</groupId>
        <artifactId>kundera-hbase-v2</artifactId>
        <version>3.12</version>
    </dependency>
    <dependency>
        <groupId>com.impetus.kundera.client</groupId>
        <artifactId>kundera-elastic-search</artifactId>
        <version>3.12</version>
    </dependency>

@daddyauden
Copy link
Author

@devender-yadav

class package com.impetus.client.es.ESClientFactory

line 118: Builder builder = Settings.settingsBuilder();

line 129: TransportClient.builder()

didn't work

Caused by: java.lang.NoSuchMethodError: org.elasticsearch.common.settings.Settings.settingsBuilder()Lorg/elasticsearch/common/settings/Settings$Builder;
at com.impetus.client.es.ESClientFactory.createPoolOrConnection(ESClientFactory.java:118) ~[kundera-elastic-search-3.12.jar!/:na]

@devender-yadav
Copy link
Contributor

@jackyang1984 are you adding any dependency for elasticsearch transport client externally?
Kundera is using

        <dependency>
		<groupId>org.elasticsearch</groupId>
		<artifactId>elasticsearch</artifactId>
		<version>2.3.3</version>
	</dependency>

There may be a newer version of this dependency in your POM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants