FullIndexer not working
Symptoms
- Search does
- return no results.
- only return changed or new elements.
- After running the FullIndexer
- the index is missing groups.
- no changes were applied to all or some groups.
Causes
- FullIndexer is not enabled.
rebuildIndex_serverProcessprocess does not rebuild all groups.
How to verify
- Check if the FullIndexer is enabled in the project preferences.
- See if the
indexsearchFullIndexerEnabledproperty is inactive.
- See if the
- Check the content of the
rebuildIndex_serverProcessprocess of the project.- Location: (processes | executables |
rebuildIndex_serverProcess) - It should specify
indexsearch.runIndexer(null)to index all groups.
- Location: (processes | executables |
Solutions
-
Activate the FullIndexer in the project preferences if not set.
-
Rewrite the
rebuildIndex_serverProcessto index all groups if needed.rebuildIndex_serverProcess.jsimport { indexsearch } from "@aditosoftware/jdito-types";
indexsearch.runIndexer(null);- Setting the parameter to
nullwill trigger all active groups to be indexed. - Alternativ können hier, wenn explizit Gruppen angegeben wurden, fehlende Gruppen ergänzt werden
indexsearch.runIndexer(["GroupA", "GroupB", "MyMissingGroup"])
- Setting the parameter to
-
Manually start the
rebuildIndex_serverProcessprocess via the manager after applying the changes.
note
It is possible that the actual deployment state of the system differs from what is shown in the project.
Perform a force-deploy for all mentioned parts to ensure that both the system and project match.
important
Make sure to save and deploy all changes. Manually clear the server cache after deploying to ensure all changes are applied to the system.
Problem isn't solved?
Other guides for problems with similar symptoms