Package de.jetwick.ese.search

Examples of de.jetwick.ese.search.MySearch


    public void installSearchModule() {
        try {
            Client client = AbstractElasticSearch.createClient(ElasticNode.CLUSTER,
                    "127.0.0.1", ElasticNode.PORT);

            MySearch tweetSearch = new MySearch(client);
            tweetSearch.nodeInfo();
            bind(MySearch.class).toInstance(tweetSearch);
        } catch (Exception ex) {
            logger.error("Start ElasticNode first!", ex);
        }
    }
View Full Code Here

TOP

Related Classes of de.jetwick.ese.search.MySearch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.