ContentsContact: info@friendlyGIS.com Copyright© friendlyGIS ® GmbH 2000-2010 Last update: January 1st, 2011 |
Index creationThe image which contains the sw_lookup component will begin to look for a connection to the dispatcher immediately after startup, and then every 2 minutes. Therefore, the connection does not need to be started manually. The image will also take care for the SEPIA search database by itself. Creating the indexIndexing is done via a mechanism called SEPIA (Search Engine PlugIn Architecture). This allows to "plug in" different
search engines via a uniform interface. Currently, SW-Lookup® is delivered with a magik based search engine. So, index creation
is also done via SEPIA. at the magik prompt. In each case, the following menu will appear:
Please note that in the current version, only the search engine "sepia_magik" is available. This engine is written in Magik, but is optimised and will provide fast access even for large databases. However, in future versions, additional search engines may be provided. Please perform the following steps:
For simplicity, you can also choose "both" in order to build the two indices in one step. After you have created the index, SW-Lookup® is ready to go! While the index is created, a progress reporter will show up to inform about the progress of index creation. You should be aware that creating a large index can take considerable time. For instance, indexing around 200.000 records will take several hours to complete. From version 1.30, there is a new feature which allows to refresh an existing index instead of creating it from scratch (incremental indexing). To do this, it is necessary to have an existing index created as described above. Now, if there are new objects added or changed below the index alternative, the system only needs to re-index these few objects which leads to a very much decreased processing time, depending on the number of objects which have been changed, added or deleted. Simply choose 'incremental'. However, this is only possible if you did not change the index configuration. |