mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Merge pull request #267 from keerthi16/SEARCH-544
SEARCH-544 (Re-create real-time index)
This commit is contained in:
commit
368320f109
@ -220,6 +220,7 @@
|
||||
});
|
||||
|
||||
sendMessage.addEventListener('click', function () {
|
||||
search.deleteRealTimeFolder();
|
||||
if (realTimeIndexing.value !== "") {
|
||||
let message = realTimeIndexing.value;
|
||||
search.batchRealTimeIndexing(JSON.parse(message));
|
||||
|
@ -353,6 +353,11 @@ class Search {
|
||||
});
|
||||
}
|
||||
|
||||
deleteRealTimeFolder() {
|
||||
Search.deleteIndexFolders(this.realTimeIndex);
|
||||
Search.indexValidator(this.realTimeIndex);
|
||||
}
|
||||
|
||||
/**
|
||||
* This the query constructor
|
||||
* for the search function
|
||||
|
Loading…
Reference in New Issue
Block a user