DjangoBB

Django based forum engine

  • You are not logged in.

#1 Dec. 20, 2009 13:43:59

lzhshen
Registered: 2009-12-10
Posts: 30
Reputation: +  3  -
Profile   Send e-mail  

how to diable full text search?

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?

Offline

#2 Dec. 20, 2009 13:54:05

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

how to diable full text search?

now - no way for do this

what OS u use? install xapian from repo

Offline

#3 Dec. 20, 2009 13:59:02

lzhshen
Registered: 2009-12-10
Posts: 30
Reputation: +  3  -
Profile   Send e-mail  

how to diable full text search?

CentOS

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

Offline

#4 Dec. 20, 2009 14:07:03

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

how to diable full text search?

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

Edited (Dec. 20, 2009 14:08:51)

Offline

#5 Dec. 20, 2009 16:07:33

lzhshen
Registered: 2009-12-10
Posts: 30
Reputation: +  3  -
Profile   Send e-mail  

how to diable full text search?

I fix the Xapian installation problem.

Thanks!

Offline

#6 Dec. 23, 2009 18:29:55

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

how to diable full text search?

okey, but we planing change djapian to haystacksearch http://djangobb.org/ticket/68

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version