Build/rebuild Exalead indexes

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:52

New: see Reindexing all (quick way).

About building/rebuilding Exalead indexes

To build/rebuild all Exalead indexes, in the folder where srv4.exe resides (typically C:\TERA\GN4\BIN), create in the Notepad an empty text file with the name all.xml and paste into it the below xml code:

<SearchConditions 

 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

 xmlns="http://www.teradp.com/schemas/GN4/1/SearchConditions.xsd" 

 ObjectTypeName="folderObject" 

/>

Then, in the Command prompt window, execute the command:

srv4 index -conditions all.xml

See also

srv4 index command

Reindexing all (quick way)

Note

Once the TARK4/GN4 schema and Exalead are configured, it is possible to index existing objects. Moreover, you need to rebuild Exalead indexes if you created GN4 database, if you restored a database dump from another GN4 server, or if you changed the indexing structure.

Troubleshooting

If the reindexing by means of srv4 with conditions gn4:folderObject doesn't seem to finish after unexpectedly long period of time, it may be that the job analysis is stuck. To resolve it, stop Back4 service, remove all the reindexing from the database, remove the Exalead indexes and restart the server. Reindex one-by-one various object classes (images, videos, stories etc).

References

See the post http://forum.teradp.com/topic.asp?TOPIC_ID=330 for more info.