Skip to main content

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_serverProcess process does not rebuild all groups.

How to verify

  • Check if the FullIndexer is enabled in the project preferences.
  • Check the content of the rebuildIndex_serverProcess process of the project.
    • Location: (processes | executables | rebuildIndex_serverProcess)
    • It should specify indexsearch.runIndexer(null) to index all groups.

Solutions

  • Activate the FullIndexer in the project preferences if not set.

  • Rewrite the rebuildIndex_serverProcess to index all groups if needed.

    rebuildIndex_serverProcess.js
    import { indexsearch } from "@aditosoftware/jdito-types";
    indexsearch.runIndexer(null);
    • Setting the parameter to null will 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"])
  • Manually start the rebuildIndex_serverProcess process 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