1
birdseed
Is there a mySQL Fulltext search hack?
  • 2006/6/15 9:24

  • birdseed

  • Just popping in

  • Posts: 59

  • Since: 2005/2/26


Hi

xoops uses a SQL LIKE '%foobar%' Syntax to do fulltext seach on forum posts, comments, news...

This takes quite a lot of performance. You can even start a DOS Attack by simply doing a lot of searching in a short period.

There is a mySQL FULLTEXT search index which should solve this problem. You also have to rewrite the queries. Is there any reason why XOOPS still uses the slow LIKE criteria? Is there a hack available?

greetings
birdseedmusic

2
birdseed
Re: Is there a mySQL Fulltext search hack?
  • 2006/6/17 23:25

  • birdseed

  • Just popping in

  • Posts: 59

  • Since: 2005/2/26


Hi

*push*

hoping for answers... ;)

greetings
birdseedmusic

3
phppp
Re: Is there a mySQL Fulltext search hack?
  • 2006/6/18 2:26

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


because fulltext search is a hack-like technique considering its capability for multibyte languages.

Login

Who's Online

317 user(s) are online (194 user(s) are browsing Support Forums)


Members: 0


Guests: 317


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits