GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AHWangQiang/elasticsearchdemo: bboss elastic开发demo

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

129 Commits
129 Commits

Folders and files

NameName
Last commit message
Last commit date
runfiles
runfiles
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 

Repository files navigation

bboss elastic demo,包含以下示例

拼音搜索示例

分页查询示例

地理位置检索示例

聚合统计查询示例

普通es 增删改、批量增删改、全文检索orm示例

父子关系检索示例

关键词高亮显示示例

关键词联想和补全示例(term suggest,phrase suggest,complete suggest)

使用参考文档

快速集成和应用

非spring boot项目: https://my.oschina.net/bboss/blog/1801273

spring boot项目: https://my.oschina.net/bboss/blog/1835601

详细配置说明参考文档: https://my.oschina.net/bboss/blog/1556866

构建部署

源码下载

https://github.com/bbossgroups/elasticsearchdemo

通过gradle构建发布版本

前提:安装gradle

gradle clean releaseVersion

运行

gradle构建成功后,在build/distributions目录下会生成可以运行的zip包,解压后,参考《bboss elasticsearch开发库使用介绍》修改elasticsearch的相关配置,然后找到demo的运行指令,就可以启动和运行demo:

打开配置文件conf/elasticsearch.properties,修改es地址,es账号和口令:

elasticsearch.rest.hostNames=127.0.0.1:9200

如果启动了elasticsearch认证,修改es账号和口令:

elasticUser=elastic

elasticPassword=changeme

运行demo

linux:

chmod +x startup.sh

./startup.sh

windows: startup.bat

elasticsearch技术交流群:166471282

elasticsearch微信公众号:bbossgroup

GitHub Logo

About

bboss elastic开发demo

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.