User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 25 of 28

Thread: Change the Search indexing minimum to 3 characters

  1. #1
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default Change the Search indexing minimum to 3 characters

    Seriously. There's enough watch-related terms that are 3 characters to justify it.

    Having a search for "gmt 089" return empty results is no fun.

  2. #2
    SUPER
    Sbrubb's Avatar
    Join Date
    Sep 2007
    Location
    Floriduh
    Posts
    3,059
    GeekBux
    278,983.29
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Country
    usa
    Region
    us michigan


    Default

    I concur. It is a bigger load on the server from what I understand though.

  3. #3
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by Sbrubb View Post
    I concur. It is a bigger load on the server from what I understand though.
    Definitely higher CPU/RAM utilization, depending on how the search cache is set up and such. Then again, having people rerun searches over and over again in an attempt to find a term that can stand in place of the 3-character term they want to use also adds load

  4. #4
    Elite Spartan

    Join Date
    Nov 2007
    Posts
    11,951
    GeekBux
    796,747.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    usa
    Region
    au aboriginal


    Default

    F the search function.

    Let's just keep asking the same questions page after page after page.

    I've never had any decent luck with the search function here. I scroll back a few pages in the section I think the answer will be in, and if I don't see it, I post.

  5. #5
    Badabing!
    Drhulee's Avatar
    Join Date
    May 2009
    Location
    T.O.
    Posts
    7,253
    GeekBux
    465,459.16
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    30
    Country
    canada
    Region
    uk england


    Default

    Seem to remember that I started a thread and poll about this somewhere...
    WTB: DSN "old turquoise with black sub-dial" 089 dial

    22mm Panerai rounded buckle for 204 Wempe


    I may not be the brightest bulb in the box, but I still stand out from the rest

    They read a bunch of words, I lived a bunch of life .... Jay Z

    * Legal Disclaimer: Any advice I may give, is given as an absolute amateur, and should only be followed if you are desperate and have no alternatives, even then think twice.
    I take absolutely no responsibility in facilitating the destruction of that new watch you just bought, or in causing you to be locked up in a mental institution.


  6. #6
    OG Spartan
    Sparty's Avatar
    Join Date
    Feb 2009
    Location
    DFW
    Posts
    3,256
    GeekBux
    266,489.93
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Country
    usa
    Region
    us texas


    Default

    If this was a normal forum, I would suggest Google searching the forums...

  7. #7
    Badabing!
    Drhulee's Avatar
    Join Date
    May 2009
    Location
    T.O.
    Posts
    7,253
    GeekBux
    465,459.16
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    30
    Country
    canada
    Region
    uk england


    Default Been there, done that.

    Quote Originally Posted by Sparty View Post
    If this was a normal forum, I would suggest Google searching the forums...
    As far as google is concerned, it is a normal forum. I've tried the "google" route, but is always quite out-of-date.
    WTB: DSN "old turquoise with black sub-dial" 089 dial

    22mm Panerai rounded buckle for 204 Wempe


    I may not be the brightest bulb in the box, but I still stand out from the rest

    They read a bunch of words, I lived a bunch of life .... Jay Z

    * Legal Disclaimer: Any advice I may give, is given as an absolute amateur, and should only be followed if you are desperate and have no alternatives, even then think twice.
    I take absolutely no responsibility in facilitating the destruction of that new watch you just bought, or in causing you to be locked up in a mental institution.


  8. #8
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by Drhulee View Post
    Seem to remember that I started a thread and poll about this somewhere...
    I'll search for it

  9. #9
    Badabing!
    Drhulee's Avatar
    Join Date
    May 2009
    Location
    T.O.
    Posts
    7,253
    GeekBux
    465,459.16
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    30
    Country
    canada
    Region
    uk england


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    I'll search for it
    I take it that LOL is due to the fact that it only a few threads down from this one , because if you do search for "search" it will pop right up.
    WTB: DSN "old turquoise with black sub-dial" 089 dial

    22mm Panerai rounded buckle for 204 Wempe


    I may not be the brightest bulb in the box, but I still stand out from the rest

    They read a bunch of words, I lived a bunch of life .... Jay Z

    * Legal Disclaimer: Any advice I may give, is given as an absolute amateur, and should only be followed if you are desperate and have no alternatives, even then think twice.
    I take absolutely no responsibility in facilitating the destruction of that new watch you just bought, or in causing you to be locked up in a mental institution.


  10. #10
    OG Spartan
    Sparty's Avatar
    Join Date
    Feb 2009
    Location
    DFW
    Posts
    3,256
    GeekBux
    266,489.93
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Country
    usa
    Region
    us texas


    Default

    Quote Originally Posted by Drhulee View Post
    As far as google is concerned, it is a normal forum. I've tried the "google" route, but is always quite out-of-date.
    Interesting. I thought they had this site blocked from crawlers.

  11. #11
    Badabing!
    Drhulee's Avatar
    Join Date
    May 2009
    Location
    T.O.
    Posts
    7,253
    GeekBux
    465,459.16
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    30
    Country
    canada
    Region
    uk england


    Default

    Quote Originally Posted by Sparty View Post
    Interesting. I thought they had this site blocked from crawlers.
    Nope. I think they actually enabled some options to help with google indexing it.
    WTB: DSN "old turquoise with black sub-dial" 089 dial

    22mm Panerai rounded buckle for 204 Wempe


    I may not be the brightest bulb in the box, but I still stand out from the rest

    They read a bunch of words, I lived a bunch of life .... Jay Z

    * Legal Disclaimer: Any advice I may give, is given as an absolute amateur, and should only be followed if you are desperate and have no alternatives, even then think twice.
    I take absolutely no responsibility in facilitating the destruction of that new watch you just bought, or in causing you to be locked up in a mental institution.


  12. #12
    Removed

    Awards Showcase


    Join Date
    Oct 2008
    Posts
    451
    GeekBux
    57,950.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    sweden


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    Seriously. There's enough watch-related terms that are 3 characters to justify it.
    This is only possible if the crew can modify the php settings, as the limit of 4 is set in php. Trying to set it to 3 whitout having access to php is a dead end..

  13. #13
    Size 14W carbon footprint

    Awards Showcase

    sixbennetts's Avatar
    Join Date
    Jun 2007
    Posts
    3,352
    GeekBux
    216,950.64
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Country
    usa
    Region
    us new york


    Default

    Isn't there a wildcard character, like * or something that you can add to a short phrase?
    __________________________________________________

    Repgeek is a condom for on your wallet, not in it.

    Medat Kara Gulel Meerschaum pipe
    Hidden Content

  14. #14
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by Franke View Post
    This is only possible if the crew can modify the php settings, as the limit of 4 is set in php. Trying to set it to 3 whitout having access to php is a dead end..
    If it's anything like phpBB, there should be a setting in the Admin control panel that's allows changing the search indexing minimum. It's quite literally a one-click change in phpBB. It has a lot more to do with the database (MySQL, etc.), than it does PHP.

    Quote Originally Posted by sixbennetts View Post
    Isn't there a wildcard character, like * or something that you can add to a short phrase?
    You can't wildcard something that the search mechanism hasn't indexed at all. As far as search is concerned, words less than the minimum number of characters don't exist.

  15. #15
    Removed

    Awards Showcase


    Join Date
    Oct 2008
    Posts
    451
    GeekBux
    57,950.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    sweden


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    It's quite literally a one-click change in phpBB. It has a lot more to do with the database (MySQL, etc.), than it does PHP.
    Doesnīt matter what you set it to in phpBB. It can not override the php/mysql settings. If you set it to 2 and php/mysql settings are 4, it will still be 4 after you set it to 2. Thats my point.

    Changing to full text search maks this functin a little stronger.

  16. #16
    Inactive

    Awards Showcase


    Join Date
    May 2007
    Location
    Scotland
    Posts
    6,105
    GeekBux
    379,137.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    uk
    Region
    uk england


    Default

    I say change it. CPU is cheap.

  17. #17
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by Franke View Post
    Doesnīt matter what you set it to in phpBB. It can not override the php/mysql settings. If you set it to 2 and php/mysql settings are 4, it will still be 4 after you set it to 2. Thats my point.
    And my point is that no such limitation exists in PHP, nor can such a setting be configured via php.ini. Granted, having an extension like memcache or xcache enabled might activate some bizarre limitations that I'm not familiar with (although I've used both and never encountered such a thing), but as far as I am aware, there's no such limitation.

  18. #18
    Inactive

    Awards Showcase


    Join Date
    May 2007
    Location
    Scotland
    Posts
    6,105
    GeekBux
    379,137.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    uk
    Region
    uk england


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    And my point is that no such limitation exists in PHP, nor can such a setting be configured via php.ini. Granted, having an extension like memcache or xcache enabled might activate some bizarre limitations that I'm not familiar with (although I've used both and never encountered such a thing), but as far as I am aware, there's no such limitation.
    As far as I have understood it, he's talking about it being in the PHP source code for phpBB. If you don't have r/w access to the phpBB code, you can't change the minimum search length indexed.

  19. #19
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by Pugwash View Post
    As far as I have understood it, he's talking about it being in the PHP source code for phpBB. If you don't have r/w access to the phpBB code, you can't change the minimum search length indexed.
    It's not, it's in the Admin control panel, under Search Settings. I'm looking at it on one of my BBs right now.

    For vBulletin, it's the Search Index Minimum Word Length setting under Message Searching Option.

    You may need to modify my.cnf (for MySQL) and add the following for fulltext search:

    [mysqld]
    ft_min_word_len=3

    [myisamchk]
    ft_min_word_len=3
    http://dev.mysql.com/doc/refman/5.1/...variables.html

    Default value is supposedly 4, but strangely enough, I'm running a MySQL version that's a few months old, I don't have a specific ft_min_word_len set, and yet it's been indexing correctly as per my 3 character setting in phpBB on that board.

    As I said, it's not a PHP limitation.

    Anyway, an additional problem is that they'd have to rebuild the search index. Given that this is a fairly busy board, that might not be very fun.

  20. #20
    Removed

    Awards Showcase


    Join Date
    Oct 2008
    Posts
    451
    GeekBux
    57,950.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    sweden


    Default

    I stand corrected on the php part. About mysql you are also right, those are the correct params.

    The minimum length of words to be indexed is defined by the ft_min_word_len system variables. The default minimum value is four characters.

    ft_min_word_len
    Command Line Format --ft_min_word_len=#
    Config File Format ft_min_word_len
    Option Sets Variable Yes, ft_min_word_len
    Variable Name ft_min_word_len
    Value Set
    Type numeric
    Default 4
    Min Value 1

    If you change this value, you must rebuild FULLTEXT indexes. For example, if you want three-character words to be searchable, you need to edit my.cnf and set the ft_min_word_len variable by putting the following lines in an option file:

    [mysqld]
    ft_min_word_len=3

    Then restart the server and rebuild your FULLTEXT indexes.

    Repgeek is not currently running under fulltext, hence not beeing able to process boolean search. This needs to be fixed first in admincp.

    Then you need to change the mysql setting. If the server is dedicated this should be no problem, and a restart only takes a few minutes.

    However, if the forum recides at a webhotel (like my forum) and the webhotel has fixed settings this is not possible. Search will always be what mysql wants it to be and in most cases this means 4 caracters.

    Apart from all this: As long as the crew donīt want this, it will definately not happen.

  21. #21
    Inactive

    Awards Showcase


    Join Date
    Sep 2007
    Location
    USA
    Posts
    1,360
    GeekBux
    102,255.77
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    usa


    Default

    I am noticing that there are bad searches

    Like for me "rex" won't work anymore.

  22. #22
    Size 14W carbon footprint

    Awards Showcase

    sixbennetts's Avatar
    Join Date
    Jun 2007
    Posts
    3,352
    GeekBux
    216,950.64
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Country
    usa
    Region
    us new york


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    It's not, it's in the Admin control panel, under Search Settings. I'm looking at it on one of my BBs right now.

    For vBulletin, it's the Search Index Minimum Word Length setting under Message Searching Option.

    You may need to modify my.cnf (for MySQL) and add the following for fulltext search:



    http://dev.mysql.com/doc/refman/5.1/...variables.html

    Default value is supposedly 4, but strangely enough, I'm running a MySQL version that's a few months old, I don't have a specific ft_min_word_len set, and yet it's been indexing correctly as per my 3 character setting in phpBB on that board.

    As I said, it's not a PHP limitation.

    Anyway, an additional problem is that they'd have to rebuild the search index. Given that this is a fairly busy board, that might not be very fun.
    Quote Originally Posted by Franke View Post
    I stand corrected on the php part. About mysql you are also right, those are the correct params.

    The minimum length of words to be indexed is defined by the ft_min_word_len system variables. The default minimum value is four characters.

    ft_min_word_len
    Command Line Format --ft_min_word_len=#
    Config File Format ft_min_word_len
    Option Sets Variable Yes, ft_min_word_len
    Variable Name ft_min_word_len
    Value Set
    Type numeric
    Default 4
    Min Value 1

    If you change this value, you must rebuild FULLTEXT indexes. For example, if you want three-character words to be searchable, you need to edit my.cnf and set the ft_min_word_len variable by putting the following lines in an option file:

    [mysqld]
    ft_min_word_len=3

    Then restart the server and rebuild your FULLTEXT indexes.

    Repgeek is not currently running under fulltext, hence not beeing able to process boolean search. This needs to be fixed first in admincp.

    Then you need to change the mysql setting. If the server is dedicated this should be no problem, and a restart only takes a few minutes.

    However, if the forum recides at a webhotel (like my forum) and the webhotel has fixed settings this is not possible. Search will always be what mysql wants it to be and in most cases this means 4 caracters.

    Apart from all this: As long as the crew donīt want this, it will definately not happen.



    SPEAK ENGRISH!!!


    __________________________________________________

    Repgeek is a condom for on your wallet, not in it.

    Medat Kara Gulel Meerschaum pipe
    Hidden Content

  23. #23
    Old School Paneristi

    Awards Showcase

    PatronSaintofChainsaws's Avatar
    Join Date
    Dec 2008
    Location
    Nowhere
    Posts
    1,858
    GeekBux
    126,291.32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    20
    Country
    usa
    Region
    us california


    Default

    Quote Originally Posted by sixbennetts View Post

    SPEAK ENGRISH!!!
    Big man have small number where large number should go. Large number top quality, A+++++++++.

    Large number make happy feeling all of the time.

  24. #24
    Removed

    Awards Showcase


    Join Date
    Oct 2008
    Posts
    451
    GeekBux
    57,950.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Country
    sweden


    Default

    Quote Originally Posted by PatronSaintofChainsaws View Post
    Big man have small number where large number should go. Large number top quality, A+++++++++.

    Large number make happy feeling all of the time.
    Well, if nothing else works, you can always remove that stupid avatar of yours.

  25. #25
    Spartan Proprietor

    Awards Showcase

    J-C's Avatar
    Join Date
    May 2007
    Posts
    16,221
    GeekBux
    1,154,865.00
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Rep Power
    10
    Country
    usa
    Region
    european union


    Default

    Search index is requiring a bit of extra tweaking ... we have quite a few projects/upgrades we're working on.

    It's on the list, please be patient.
    Welcome to RepGeek - fun, friendly, flame free and informative.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



About RepGeek

Replica Geek is a discussion & review forum for all fans of Replica Watches from around the World. Let's Chat About Replica Watches on Replica Geek.

RG Dealers