<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<groupId>com.lx</groupId>
|
<artifactId>product-server</artifactId>
|
<version>2.0.0-SNAPSHOT</version>
|
</parent>
|
<artifactId>product-server-lucene</artifactId>
|
<name>product-server-lucene</name>
|
<description>product-server-lucene</description>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
</properties>
|
<dependencies>
|
<dependency>
|
<groupId>junit</groupId>
|
<artifactId>junit</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>com.lx</groupId>
|
<artifactId>product-server-common</artifactId>
|
<version>2.0.0-SNAPSHOT</version>
|
</dependency>
|
<dependency>
|
<groupId>com.lx</groupId>
|
<artifactId>product-server-util</artifactId>
|
<version>2.0.0-SNAPSHOT</version>
|
</dependency>
|
<dependency>
|
<groupId>com.lx</groupId>
|
<artifactId>product-server-core</artifactId>
|
<version>1.0.0-releases</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>1.2.7</version>
|
</dependency>
|
<!--对分词索引查询解析-->
|
<dependency>
|
<groupId>org.apache.lucene</groupId>
|
<artifactId>lucene-queryparser</artifactId>
|
<version>8.3.0</version>
|
</dependency>
|
|
<!--高亮 -->
|
<dependency>
|
<groupId>org.apache.lucene</groupId>
|
<artifactId>lucene-highlighter</artifactId>
|
<version>8.3.0</version>
|
</dependency>
|
|
<!--smartcn 中文分词器 SmartChineseAnalyzer smartcn分词器 需要lucene依赖 且和lucene版本同步-->
|
<dependency>
|
<groupId>org.apache.lucene</groupId>
|
<artifactId>lucene-analyzers-smartcn</artifactId>
|
<version>8.3.0</version>
|
</dependency>
|
|
<!--ik-analyzer 中文分词器-->
|
<dependency>
|
<groupId>cn.bestwu</groupId>
|
<artifactId>ik-analyzers</artifactId>
|
<version>5.1.0</version>
|
</dependency>
|
|
<!--MMSeg4j 分词器-->
|
<dependency>
|
<groupId>com.chenlb.mmseg4j</groupId>
|
<artifactId>mmseg4j-solr</artifactId>
|
<version>2.4.0</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.apache.solr</groupId>
|
<artifactId>solr-core</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>1.16.20</version>
|
</dependency>
|
</dependencies>
|
</project>
|