Lucene search Engine

From SMTX Wiki
Revision as of 14:48, 10 February 2022 by Smtxwiki (talk | contribs) (Created page with "==Rebuild lucene index== In order to force a complete rebuild of the Lucene index, you can include an additional parameter in the Task that normally updates the index. { "reb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rebuild lucene index

In order to force a complete rebuild of the Lucene index, you can include an additional parameter in the Task that normally updates the index.

{ "rebuild": true }

The task will then look like this:

Title: Maintain the search indexes in service catalog
Assembly Name: SMTX.ServiceCatalog.BL.dll
Class Name (include namespace): SMTX.ServiceCatalog.BL.MyCode.Tasks.MaintainSearchIndexes
Method name: Run
Input Parameter (string): { "rebuild": true }