Author Topic: wiki search - ft_min_word_len  (Read 865 times)

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
wiki search - ft_min_word_len
« on: January 24, 2009, 03:52:02 pm »
I added a new page to the wiki for the asus eee box b202. When I search using logical words it doesn't show in the results.

Is there a search index which needs updating or have I missed something?
Barney

<edit>Modified title</edit>
« Last Edit: January 25, 2009, 12:24:41 am by b4rney »

jimmejames

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: wiki search - new entry
« Reply #1 on: January 25, 2009, 12:20:10 am »

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: wiki search - new entry
« Reply #2 on: January 25, 2009, 12:23:10 am »
Figured this out.

There seems to be a four letter minimum word length on the wiki search terms ... so:
asus eee box
only gets searches for:
asus
However, searching for:
asus b202
works fine!
So it's not a fault. The page is just buried in the results. Probably to do with the mysql ft_min_word_len variable for fulltext searches.

Anyone else think it's worth changing to three letters? It might help folks find valuable info ... but then again, would it create a big performance hit?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: wiki search - ft_min_word_len
« Reply #3 on: January 25, 2009, 03:11:37 pm »
set to three for now. Better?

br, Hari
rock your home - http://www.agocontrol.com home automation

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: wiki search - ft_min_word_len
« Reply #4 on: January 25, 2009, 08:33:26 pm »
Thanks Hari,
Much better!
Barney

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2988
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: wiki search - ft_min_word_len
« Reply #5 on: January 26, 2009, 08:58:44 am »
When I need to find something on the wiki, I always use google
Code: [Select]
site:wiki.linuxmce.org <a word to search for>
works, no matter how long the word is. Not up-to-date though.