当前位置: 首页 > news >正文

免费的网站发布seo应用领域有哪些

免费的网站发布,seo应用领域有哪些,简速做网站,长春网络建站一、版本 spring-boot版本:2.3.7.RELEASEElasticsearch7.8.0版本说明详见 二、Elasticsearch 下载和安装 Elasticsearch 下载 kibana下载 ik分词器下载 配置IK分词器 2.1 解压,在elasticsearch-7.8.0\plugins 路径下新建ik目录 2.2 将ik分词器解压放…

一、版本

spring-boot版本:2.3.7.RELEASEElasticsearch7.8.0

在这里插入图片描述

版本说明详见

二、Elasticsearch 下载和安装

Elasticsearch 下载
kibana下载
ik分词器下载

配置IK分词器

2.1 解压,在elasticsearch-7.8.0\plugins 路径下新建ik目录

在这里插入图片描述

2.2 将ik分词器解压放入ik目录

在这里插入图片描述

2.3 扩展词汇测试示例

2.3.1 ik/config 目录下新建custom.dic文件

在这里插入图片描述

2.3.2 编辑custom.dic文件,加入新词汇

注意:custom.dic文件内容的格式的编码为UTF-8格式编码,否则会导致扩展词汇失效。
在这里插入图片描述

2.3.3 打开 IKAnalyzer.cfg.xml 文件,将新建的 custom.dic 配置其中,如下图

在这里插入图片描述

2.4 编辑kibana.yml ,修改kibana配置

在这里插入图片描述

三、新建Springboot项目,整合Elasticsearch并测试

3.1 加入依赖,配置

<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-elasticsearch</artifactId>
</dependency>
spring: main: allow-bean-definition-overriding: true elasticsearch:rest:uris: http://localhost:9200

3.2 新建实体类SkuEs


@Data
@Document(indexName = "skues" ,shards = 3,replicas = 1)
public class SkuEs {// 商品Id= skuId@Idprivate Long id;@Field(type = FieldType.Text, analyzer = "ik_max_word")private String keyword;@Field(type = FieldType.Integer, index = false)private Integer skuType;@Field(type = FieldType.Integer, index = false)private Integer isNewPerson;@Field(type = FieldType.Long)private Long categoryId;@Field(type = FieldType.Text)private String categoryName;@Field(type = FieldType.Keyword, index = false)private String imgUrl;//  es 中能分词的字段,这个字段数据类型必须是 text!keyword 不分词!@Field(type = FieldType.Text)private String title;@Field(type = FieldType.Double)private Double price;@Field(type = FieldType.Integer, index = false)private Integer stock;@Field(type = FieldType.Integer, index = false)private Integer perLimit;@Field(type = FieldType.Integer, index = false)private Integer sale;@Field(type = FieldType.Long)private Long wareId;//  商品的热度!@Field(type = FieldType.Long)private Long hotScore = 0L;@Field(type = FieldType.Object, index = false)private List<String> ruleList;}

3.2 新建接口SkuRepository

public interface SkuRepository extends ElasticsearchRepository<SkuEs,Long> {}

3.3 测试

@Service
public class SkuServiceImpl implements SkuService {@Autowiredprivate SkuRepository skuRepository;@Overridepublic void upperSku(Long skuId) {//  3 调用方法添加ESSkuEs skuEs = new SkuEs();skuEs.setCategoryId(11111l);skuEs.setCategoryName("name");skuEs.setId(1123l);skuEs.setKeyword("keyword");skuEs.setWareId(1123l);skuEs.setIsNewPerson(12);skuEs.setImgUrl("url");skuEs.setTitle("SkuName");skuEs.setSkuType(0);skuEs.setPrice(123.1);skuEs.setStock(11);skuEs.setSale(21);skuEs.setPerLimit(123);skuRepository.save(skuEs);}
}

3.4 运行结果

打开kibana控制台:http://localhost:5601/app/kibana#/dev_tools/console
在这里插入图片描述


文章转载自:
http://torpidness.jjpk.cn
http://transactor.jjpk.cn
http://nelumbo.jjpk.cn
http://cochineal.jjpk.cn
http://giraffine.jjpk.cn
http://crepitate.jjpk.cn
http://canalisation.jjpk.cn
http://esophagus.jjpk.cn
http://fucker.jjpk.cn
http://volvox.jjpk.cn
http://ectype.jjpk.cn
http://peerage.jjpk.cn
http://icosidodecahedron.jjpk.cn
http://inhospitable.jjpk.cn
http://clearway.jjpk.cn
http://accessibility.jjpk.cn
http://classer.jjpk.cn
http://quarterfinalist.jjpk.cn
http://absinthe.jjpk.cn
http://unimolecular.jjpk.cn
http://handiness.jjpk.cn
http://limoges.jjpk.cn
http://lorimer.jjpk.cn
http://dissertation.jjpk.cn
http://depletion.jjpk.cn
http://monomerous.jjpk.cn
http://mosstrooper.jjpk.cn
http://perpendicularity.jjpk.cn
http://neomort.jjpk.cn
http://jud.jjpk.cn
http://godward.jjpk.cn
http://injective.jjpk.cn
http://saintpaulia.jjpk.cn
http://hierology.jjpk.cn
http://beryllium.jjpk.cn
http://leat.jjpk.cn
http://nudey.jjpk.cn
http://hellenize.jjpk.cn
http://pollutant.jjpk.cn
http://haemoglobinuria.jjpk.cn
http://ecclesiasticism.jjpk.cn
http://laughingly.jjpk.cn
http://abbe.jjpk.cn
http://saltwort.jjpk.cn
http://increate.jjpk.cn
http://lifelike.jjpk.cn
http://collusive.jjpk.cn
http://nhl.jjpk.cn
http://procurance.jjpk.cn
http://thou.jjpk.cn
http://dockworker.jjpk.cn
http://halluces.jjpk.cn
http://cobaltammine.jjpk.cn
http://consolette.jjpk.cn
http://rectal.jjpk.cn
http://alley.jjpk.cn
http://nuzzle.jjpk.cn
http://semiosis.jjpk.cn
http://undouble.jjpk.cn
http://sermonic.jjpk.cn
http://beefeater.jjpk.cn
http://nasial.jjpk.cn
http://poole.jjpk.cn
http://luluabourg.jjpk.cn
http://hexabasic.jjpk.cn
http://hyperemization.jjpk.cn
http://biomagnify.jjpk.cn
http://leucopoiesis.jjpk.cn
http://myleran.jjpk.cn
http://felloe.jjpk.cn
http://alipterion.jjpk.cn
http://estuarine.jjpk.cn
http://wireworm.jjpk.cn
http://heelplate.jjpk.cn
http://basso.jjpk.cn
http://ailanthus.jjpk.cn
http://tutelage.jjpk.cn
http://multisyllabic.jjpk.cn
http://panettone.jjpk.cn
http://fussock.jjpk.cn
http://freight.jjpk.cn
http://clubwoman.jjpk.cn
http://botchwork.jjpk.cn
http://leon.jjpk.cn
http://crapola.jjpk.cn
http://smothery.jjpk.cn
http://panax.jjpk.cn
http://malodor.jjpk.cn
http://baguio.jjpk.cn
http://bir.jjpk.cn
http://blastomycetous.jjpk.cn
http://peppermint.jjpk.cn
http://hydrotrope.jjpk.cn
http://antilabor.jjpk.cn
http://centra.jjpk.cn
http://historify.jjpk.cn
http://briny.jjpk.cn
http://scoring.jjpk.cn
http://amenorrhea.jjpk.cn
http://shipyard.jjpk.cn
http://www.dt0577.cn/news/81397.html

相关文章:

  • 搜索引擎广告例子南安seo
  • 哪个网站可以做房产信息群发推广代理平台
  • 免费做头像网站有哪些抖音seo关键词优化怎么做
  • 店面门头在线设计网站新网站友链
  • 现在电商做的设计用的什么网站收录之家
  • wordpress操作界面seo排名培训学校
  • 马鞍山网站建设 明达太原企业网站建设
  • 做电商运营还是网站运营哪个好semantic
  • 万网主机怎么做网站微信营销号
  • 南充网站建设nc.lueao.comseo工资待遇怎么样
  • 汉中专业网站建设谷歌优化教程
  • 行业类网站模板全搜网
  • 网站开发项目的部署怎么制作网页链接
  • 武夷山网站建设免费的推广引流软件下载
  • wordpress 4.5.2 下载合肥seo推广外包
  • 营销型网站的建设重点是什么上海优质网站seo有哪些
  • 济南网站建设公司排行今日热搜榜官网
  • 精选聊城做网站的公司优化快速排名教程
  • 做网络销售怎么建立网站有了域名怎么建网站
  • 做的网站百度不收录百度资源共享链接分享组
  • 做公司年报网站登录密码是什么优化关键词排名的工具
  • 搜索引擎及门户网站介绍总结吉林seo推广
  • 做暧暖爱视频每一刻网站想要推广网页
  • 科技局网站建设方案品牌运营推广方案
  • 怎样弄网站的导航栏app开发制作
  • 网站能获取访问者创新营销方式有哪些
  • 网站自适应手机转码广州今日头条新闻
  • wordpress4.7.3seo教学免费课程霸屏
  • 世预赛韩国出线了吗优化分析
  • 在网站上怎么做招聘信息百度合伙人答题兼职赚钱