Search - User list
Full Version: how to diable full text search?
Root » The Other » how to diable full text search?
1
lzhshen
Hi,

How could I disable full text search component because I fails to install Xapian in my ENV.

Here is the error that I met:
$ ./manage.py syncdb
Error: /home/sutifang/lib/python2.5/_xapian.so: undefined symbol: PyUnicodeUCS4_EncodeUTF8

BTW, do you know how to resolve it?
slav0nic
now - no way for do this

what OS u use? install xapian from repo
lzhshen
CentOS

I do not have root privilege to change yum's repository.

slav0nic
okey) CentOS sux imho
if u have some basic django skill

remove from urls.py:
    url('^search/$', forum_views.search, name='search'),

and create templates/forum/header.html like djangobb/djangobb/templates/forum/header.html but with removed link to search section

at views.py commented line:
#from forum.index import post_indexer

remove djapiam from settings.py

BUT after that if u do hg pull -u u will be merging edited files (this is not hard, but need some skill)

maybe that all
lzhshen
I fix the Xapian installation problem.

Thanks!
slav0nic
okey, but we planing change djapian to haystacksearch http://djangobb.org/ticket/68
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB