2. Go to main/admin/specific_fields.php and Specific fields (Those are text fields that will be add in documents, exercises, links in order to index data)
i.e i.e. Author, Body part, Technology, Topic
3. Go to main/admin/settings.php?category=Search and set a Specific field by default
4. Install the Xapian module for PHP5
4. Install the Xapian module for PHP5
sudo apt-get install php5-xapian
5. Install the imagemagick modules
sudo apt-get install imagemagick
sudo apt-get install php5-imagick
sudo apt-get install php5-imagick
6. In Chamilo root
mkdir searchdb
sudo chmod 777 searchdb
mkdir app/upload/plugins/xapian/searchdb
sudo chmod 777 app/upload/plugins/xapian/searchdb
7. Useful Xapian development tools
sudo apt-get install xapian-doc xapian-tools
8. Restart Apache
@ -52,14 +52,14 @@ build packages:
env PHP_VERSIONS=5 debian/rules maint
sed -i 's!include_path=php5$!include_path=$(srcdir)/php5!' php/Makefile.in
echo auto-commit >> debian/source/options
debuild -e PHP_VERSIONS=5 -us -uc
debuild -e PHP_VERSIONS=5 -us -uc
cd ..
If you're using PHP 5.4, then subclassing Xapian classes in PHP doesn't currently work properly and the testsuite will fail with
a segmentation fault. The wrappers work otherwise, so if that's all you need, you can build the package without running the testsuite