Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-03 12:31:40

the-bhp
Member
Registered: 2005-10-18
Posts: 26

Another question concerning the search function

Dear TXP community,

I have exactly the same problem as Henrik Pejer:

If i search for ‘toaster tire dean allen’ I only get hits in articles where those words are found in that particular order. So this means that if an article contains the following (very silly) sentence, I get a hit:
“While outside i noticed that toaster TiRE DeaN AlleN was happily jumping around with his wonderful dog Oliver”
Ofcourse the example above is very silly but I think that it illuminates my point fairly good.
Personally I’d like to get a hit on all articles containing any […] of the words that I search for.

Is there a way to achive that? With a hack, probably?

Thanks!

The BHP

Offline

#2 2005-11-05 23:30:16

the-bhp
Member
Registered: 2005-10-18
Posts: 26

Re: Another question concerning the search function

I imagine that this is only a few lines of code that have to be hacked. Am I wrong?

Offline

#3 2005-11-06 06:47:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Another question concerning the search function

Is this plugin something for you?

Offline

#4 2005-11-06 15:38:14

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Another question concerning the search function

Actually I think Henrik’s plug-in is one of the finest search facilities I’ve seen but it doesn’t work properly at the moment due to recent changes in the TXP code. I do know he is working on updating it but he is very busy with work and moving house so it is taking a while. :(

Last edited by thebombsite (2005-11-06 15:38:45)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2005-11-07 01:24:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Another question concerning the search function

The crockery branch already has “any word” search built in.


Alex

Offline

#6 2005-11-07 02:11:56

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

Re: Another question concerning the search function

Wasn’t crockery the postgres branch ?

Offline

#7 2005-11-07 02:38:40

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Another question concerning the search function

Crockery is the 4.1 branch. Postgres just happens to be in it.


Alex

Offline

#8 2005-11-07 03:52:06

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

Re: Another question concerning the search function

Oky doky.

Offline

#9 2005-11-08 14:13:55

the-bhp
Member
Registered: 2005-10-18
Posts: 26

Re: Another question concerning the search function

So, should I wait for TXP 4.1?
I would be happier if I didn’t have to update my TXP installation, since everything works just fine right now.

Last edited by the-bhp (2005-11-08 14:14:49)

Offline

#10 2005-12-13 16:57:32

NikLP
Member
From: Nottingham
Registered: 2005-02-01
Posts: 43
Website

Re: Another question concerning the search function

Is there a specific part of this code that we can take out of the 4.1 branch and retrofit? Or is that just suicide? :)

And what are the advantages of this new search compared to the old one and perhaps the ob1_advanced?

TIA

Offline

Board footer

Powered by FluxBB