Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-09-09 20:10:58
- smallt
- Member
- Registered: 2004-12-21
- Posts: 26
Textpattern Internal Search Index
Am I missing something or does the Textpattern not include “keywords” associated with each article in the internal search index? Anyone know how to make it do so?
Offline
Re: Textpattern Internal Search Index
Search includes only the title and body of articles. To include other stuff, you’d have to modify the relevant query in /textpattern/publish.php and create a new index (or change the existing one) for the textpattern table, so it includes all three instead of just body+title.
Offline
#3 2008-09-09 23:24:58
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Textpattern Internal Search Index
You can make TXP search custom fields with the help of these instructions (there’s an English translation below). I think exchanging custom_1
for Keywords
should do th etrick.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Offline
Re: Textpattern Internal Search Index
No, because if we at some point want to be able to have unlimited custom fields or categories, those will be stored in a separate table, which would require a totally different method of searching if you’d want to include them in the search.
Offline
Re: Textpattern Internal Search Index
ruud wrote:
No, because if we at some point want to be able to have unlimited custom fields or categories…
Ah, so that’s in the pipe then…that “unlimited” bit. :)
Offline
#7 2008-09-10 16:30:46
- smallt
- Member
- Registered: 2004-12-21
- Posts: 26
Re: Textpattern Internal Search Index
hmmm. Thanks all. I will give the mod a shot and report back
Offline
Pages: 1