Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-05 22:26:41

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 689
Website Mastodon

Searching keywords only?

Just a quick quest: Is it possible to search lists keywords from individual articles only
and display them each by each, alphabetically or by number of appearance?

EDIT: Found a hack for 4.0.1 but weirdly no plugin…
EDIT 2: There’s wet’s plug (4.2.0.), but it alters the database.

Thanx in advance, any more hints are very appreciated!

Last edited by jayrope (2011-02-05 22:48:09)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#2 2011-02-06 08:07:22

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Searching keywords only?

(edit) plug-ins: tru_tags (the ‘simple’ one), smd_tags (the ‘bloke’ one)

Last edited by merz1 (2011-02-06 08:08:48)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#3 2011-02-08 12:34:19

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 689
Website Mastodon

Re: Searching keywords only?

Thank you much, merz1 (DANKE)
- i’ll follow the smd_tags path (already got a MySQL error with that upon install, but will deal with that on the plugin thread…)

Thanx again.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#4 2011-02-08 17:30:47

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Searching keywords only?

With reference to the speed of the research-action I wonder if this kind of search is more rapid than searching casual words selected by the visitor.
Are there any preferential links to pre-selected keywords so that we don’t have every time a query to the database, ..or not?
TNX

Offline

#5 2011-02-09 14:39:41

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Searching keywords only?

Bongo-man ???

Textpattern as a dynamic CMS is always doing queries on the database. The only exception is if you have a server side full page cache or the page was loaded before and the modification date stamp kicks in.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#6 2011-02-10 17:40:53

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Searching keywords only?

I don’t know anything about sql, but with reference to the little I think to understand about it, I did mean, if this way the queries are simpler than searching in all the text strings of the database.
I thought as if it was pre-set a preferential link to some specific arrays of the database that the CMS pre-asked for them so that it does not need to search every time the matching articles in all of the database. Isn’t it?

In other case I would prefer to set a simple search engine. TNX.

Offline

#7 2011-02-10 18:28:07

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Searching keywords only?

Doing a keyword search means to narrow down the SQL order to the keywords field.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#8 2011-02-10 20:37:40

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Searching keywords only?

Thank you, now I can understand.

Offline

Board footer

Powered by FluxBB