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; /** * 系统运行时索引保存目录