mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
SEARCH-544
- Added an api to remove real-time indexing
This commit is contained in:
parent
f7b6597c1a
commit
754ffa9ad1
@ -220,6 +220,7 @@
|
||||
});
|
||||
|
||||
sendMessage.addEventListener('click', function () {
|
||||
search.deleteRealTimeFolder();
|
||||
if (realTimeIndexing.value !== "") {
|
||||
let message = realTimeIndexing.value;
|
||||
search.batchRealTimeIndexing(JSON.parse(message));
|
||||
|
@ -358,6 +358,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