PDA

View Full Version : Exclude forum from search indexing



bira
Thu 20th Dec '01, 8:34pm
Hi,

I'm looking into ways of minimizing my searchindex table without actually hurting the effectivity of the search engine, so I wondered: could there pehaps be an option in the Forums -> Edit (in Admin CP) to exclude that forum from the search index (and search) altogether?

For example, we have a few forums that are not searchable (trashcan, private) and I might as well just exclude these from the indexing altogether.

Is that viable? Will it at all help?

Thanks,

Bira

Wayne Luke
Fri 21st Dec '01, 1:57am
I was thinking about this today as well... And you know what?

Aside from a few lines in admin/forum.php this would only take one if statement in newthread.php and one statement in newthread.php. Not that hard to do.

bira
Sat 22nd Dec '01, 1:26pm
Wayne did you try it?

I'm reluctant to test it myself, because it would mean reindexing which takes hours, heh. So I would rather only do that after I've got something that is 100% workable, and only if it's something that we know actually reduces and helps.

Anyhow, I guess I'm just looking for advice and suggestions on how to decrease my searchindex table. Its size is alarming (or maybe it's not and I'm just worrying for nothing?)

Thanks for responding - and merry xmas btw :)

Cheers,

Bira

Chen
Sat 22nd Dec '01, 1:34pm
And don't forget posting.php 'cause you need to index posts if they are moved into other forums, and un-index posts in some cases as well.

Inzagi
Sun 23rd Dec '01, 11:43am
has anyone yet hacked the "exclusiion of forums from search indexing" and can publish it ?
I really would like to know how this work to lower the cpu recourses needed ..