Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2006-12-24 00:09:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Searchable custom fields

…crockery has this?

Nope.

Offline

#12 2006-12-28 04:13:59

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Searchable custom fields

zem wrote:

Even limited to a few fields, “sluggish” is an understatement – I’ve seen a 10×-20x difference in search times.

Still, might not be an issue for a lot of people. It’s a search tool, if it takes a little time it’s supposed to be ok. Is there an appropriate hook (is this plugin-feasible) ?

Offline

#13 2006-12-28 07:52:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,320
Website

Re: Searchable custom fields

what if the custom fields are only searched in an “advanced search” interface? Within this interface there could also be searches for all db fields which can be used on the front end. ie image caption, image title, links description, link title etc… I know that this is not the official ‘request’ but I believe that an advanced search which will be made available only by sites which need it might be a way to go…


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#14 2006-12-28 08:26:17

tore
Member
From: Tväråmark, Sweden
Registered: 2006-11-08
Posts: 15

Re: Searchable custom fields

Do you include ‘comments’ when you talk about potentially searchable ‘custom fields’? Should be most important to include as a simple extension of any simple article search!

P.S. Perhaps a simplification: It wold be nice if just a message like “Found in comment(s) link-to-comment …” is displayed in/as the search result in case this would facilitate designing a search with comments included. Then, at the comment, the clever user may use a simple browser search.

P.S. 2007-01-15 Seems that nobody else care about searching comments…? Is this a non-issue?

Last edited by tore (2007-01-15 20:48:30)

Offline

#15 2007-01-15 15:01:46

tbrown
New Member
Registered: 2006-12-07
Posts: 2
Website

Re: Searchable custom fields

Turbo-G wrote:

Hack for searchable custom fields

Turbo-G, thanks a lot! It was easy to get this hack to work for Keywords instead of custom fields. This is exactly what I needed, since I’m using tru_tags to transform the Keywords field into tags.

Offline

#16 2016-06-22 19:54:49

Karsten
Member
Registered: 2011-04-24
Posts: 41

Re: Searchable custom fields

I’m using an extremely lowtech solution by simply adding

<!--  
copy paste some values of custom fields that really need to be searchable here but make sure to avoid empty lines between opening and closing tag
 -->

to the bottom of my articles body text. The commented-out content doesn’t show on the site, but is included in the search. Not Ideal, but works perfectly.

Last edited by Karsten (2016-06-22 19:57:36)

Offline

#17 2016-06-22 21:17:38

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,515
Website

Re: Searchable custom fields

Hi Karsten, you resurrected a very very old thread. Robert (wet) added a method a long time ago called wet_haystack.


TXP Builders – finely-crafted code, design and txp

Online

Board footer

Powered by FluxBB