Node:Indexing, Next:, Previous:Sending remote requests, Up:Top



Indexing

When a Mingle server is started on a host for the first time, none of the files on that host are indexed. You must make explicit requests to a Mingle server to index directory trees or files that you own. Thus Mingle is "opt-in" in the sense that users on Mingle hosts must issue explicit requests before their data is indexed and made available to Mingle clients.

Here is the syntax of an index request:

mingle index dir1/file1 dir2/file

A Mingle server stores the computed index table in the local disk. You can specify where to store the index table by setting the parameter "IndexDir" in the Mingle configure file. For performance optimization, Mingle maintains a cache in memory for frequently accessed terms and their indexes. Adjust the cache size using the parameter "CacheSize".

Mingle servers will update the index tables regularly. By modifying the parameter "IndexInterval", you can customize the frequency of such updates.