+ Reply to Thread
Results 1 to 4 of 4

Thread: keyword search character limit to 3?

  1. #1

    keyword search character limit to 3?

    Hello Flynax developers,

    It seems that keyword search doesn't work with words less than 3 characters. So if i search "hi", it wont work. Is there anyway that I can make keyword search work with 2 character words or even 1 character?

    Thank you

  2. #2
    Quote Originally Posted by Wei Hong View Post
    Hello Flynax developers,

    It seems that keyword search doesn't work with words less than 3 characters. So if i search "hi", it wont work. Is there anyway that I can make keyword search work with 2 character words or even 1 character?

    Thank you
    Hi Wei Hong,

    You can change it in the /includes/classes/rlSearch.class.php -> keywordSearch() function.

    Open file and find following rows (~530-534)

    PHP Code:
    Only registered members can view the code
    and change count of symbols as you want, for ex.:

    PHP Code:
    Only registered members can view the code
    Thank you, Curtis.
    @Flynax Company

  3. #3
    Hello Wei,

    You can change it yourself through ftp:

    ftp://includes>>classes>>rlSearch.class.php

    find method: keywordSearch and line:

    PHP Code:
    Only registered members can view the code
    and change 4 to 2 but not recommended because it will load server if you have many listings.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Thanks Curtis and Viktor for both advice and solution. I will test it out and decide.

+ Reply to Thread