Full-text search

<< Click to Display Table of Contents >>

Navigation:  Windows > Core System >

Full-text search


Questions and answers about OMNITRACKER Core System ↦ Full-text search:


How to recreate the index automatically to avoid timeouts in full text search?

The index can be recreated or compressed automatically with the Automation Interface: (Help: Navigation: Reference > Objects > OtIndex Object > Methods > RecreateIndex method of OtIndex object)

Dim app, sess, index
Set app = CreateObject("OtAut.OtApplication")
Set sess = app.MakeSession("localhost", 5085, "", "")
Set index = sess.GetIndex()
index.RecreateIndex() '/ index.CompressIndex()
Set sess = Nothing
Set app = Nothing