-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from jamebal/ocr
perf: 重建索引
- Loading branch information
Showing
10 changed files
with
788 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.jmal.clouddisk.lucene; | ||
|
||
import lombok.Getter; | ||
|
||
/** | ||
* 索引状态 | ||
*/ | ||
@Getter | ||
public enum IndexStatus { | ||
/** | ||
* 未索引,待索引 | ||
*/ | ||
NOT_INDEX(0), | ||
/** | ||
* 正在进行索引 | ||
*/ | ||
INDEXING(1), | ||
/** | ||
* 已完成索引 | ||
*/ | ||
INDEXED(2); | ||
|
||
private final int status; | ||
|
||
IndexStatus(int status) { | ||
this.status = status; | ||
} | ||
|
||
} |
Oops, something went wrong.