From d9d9a29bb34fce2fda76b2a0ff1a93c4a48c8f68 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 6 Jan 2023 14:12:43 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20lucene=20=E7=9B=AE=E5=BD=95=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/rymcu/forest/lucene/util/PortfolioIndexUtil.java | 3 +-- src/main/java/com/rymcu/forest/lucene/util/UserIndexUtil.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/rymcu/forest/lucene/util/PortfolioIndexUtil.java b/src/main/java/com/rymcu/forest/lucene/util/PortfolioIndexUtil.java index 097692e..fe02abe 100644 --- a/src/main/java/com/rymcu/forest/lucene/util/PortfolioIndexUtil.java +++ b/src/main/java/com/rymcu/forest/lucene/util/PortfolioIndexUtil.java @@ -23,8 +23,7 @@ public class PortfolioIndexUtil { /** * lucene索引保存目录 */ - private static final String PATH = - StrUtil.SLASH + LucenePath.PORTFOLIO_PATH; + private static final String PATH = LucenePath.PORTFOLIO_PATH; /** * 删除所有运行中保存的索引 diff --git a/src/main/java/com/rymcu/forest/lucene/util/UserIndexUtil.java b/src/main/java/com/rymcu/forest/lucene/util/UserIndexUtil.java index 2833e5e..db7f9cf 100644 --- a/src/main/java/com/rymcu/forest/lucene/util/UserIndexUtil.java +++ b/src/main/java/com/rymcu/forest/lucene/util/UserIndexUtil.java @@ -25,7 +25,7 @@ public class UserIndexUtil { /** * lucene索引保存目录 */ - private static final String PATH = StrUtil.SLASH + LucenePath.USER_PATH; + private static final String PATH = LucenePath.USER_PATH; /** * 系统运行时索引保存目录