Text indexing for Pootle
Important: the following descriptions do not apply to any published release of Pootle. The features will be available as soon as the respective code is merged into trunk and released eventually.
Supported indexing engines
Usage
The indexing databases help to speed up search queries via the Pootle interface. See searching for details.
Administration
If you want to use an indexing engine to speed up text searches, then you need to install any of the supported indexing engines and its python binding.
The indexing engines will be used, as soon as the required python bindings are available.
See below for details.
Xapian
- Install the python bindings for Xapian
- for debian:
apt-get install python-xapian
Lucene
Debugging
If you want to check, which indexing engines are currently detected in your system, you can execute the self-tests of the indexing engine interface of Pootle: python translate/search/indexing/test_indexers.py
This will display the installed engines and check, if they work as expected. Please file a bug report, if you encounter any errors when running these tests. Thank you!
Development
Currently only Lucene is supported in the last official release and in the trunk line of development within the subversion repository.
The new indexing interface that additionally supports Xapian is developed in the branch translate-search-indexer=generic-merging, that can be downloaded from the subversion repository:
svn checkout https://translate.svn.sourceforge.net/svnroot/translate/src/branches/translate-search-indexer-generic-merging
This branch is supposed to be merged to trunk in the future.