mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
init index
This commit is contained in:
parent
64f7e9be10
commit
51228b5a8f
|
@ -59,6 +59,7 @@ if($document->isLocked()) {
|
||||||
|
|
||||||
if($settings->_enableFullSearch) {
|
if($settings->_enableFullSearch) {
|
||||||
$index = $indexconf['Indexer']::open($settings->_luceneDir);
|
$index = $indexconf['Indexer']::open($settings->_luceneDir);
|
||||||
|
$indexconf['Indexer']::init($settings->_stopWordsFile);
|
||||||
} else {
|
} else {
|
||||||
$index = null;
|
$index = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user