Giter Site home page Giter Site logo

Comments (3)

yin-bp avatar yin-bp commented on July 20, 2024

正在规划实现中

from bboss-elasticsearch.

yin-bp avatar yin-bp commented on July 20, 2024

可以通过以下方式,自行决定加载es配置文件:

/**
		 * boot操作必须在所有的ClientInterface组件创建之前调用
		 *  按照默认的配置文件初始化elasticsearch客户端工具
		 * 	conf/elasticsearch.properties,application.properties,config/application.properties
		 */
		//ElasticSearchBoot.boot();

		/**
		 * boot操作必须在所有的ClientInterface组件创建之前调用
		 * 根据指定的配置文件初始化elasticsearch客户端工具
		 * @param configFile 指定1到多个多个ElasticSearch属性配置文件,对应的路径格式为(多个用逗号分隔),例如:
		 * conf/elasticsearch.properties,application.properties,config/application.properties
		 * 上述的文件都是在classpath下面即可,如果需要指定绝对路径,格式为:
		 * file:d:/conf/elasticsearch.properties,file:d:/application.properties,config/application.properties
		 *
		 * 说明:带file:前缀表示后面的路径为绝对路径
		 */
		ElasticSearchBoot.boot("application.properties");

from bboss-elasticsearch.

yin-bp avatar yin-bp commented on July 20, 2024

5.0.7.8版本及后续版本都已经支持spring booter的profile机制了,参考文档:

https://my.oschina.net/bboss/blog/1835601

from bboss-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.