simserver.SimServer.train

SimServer.train(*args, **kwargs)[source]

Create an indexing model. Will overwrite the model if it already exists. All indexes become invalid, because documents in them use a now-obsolete representation.

The model is trained on documents previously entered via buffer, or directly on corpus, if specified.