Author Topic: Search problem  (Read 4940 times)

0 Members and 1 Guest are viewing this topic.

Offline ajuzo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Search problem
« on: February 14, 2007, 02:31:15 AM »
My www:

http://ajuzo.com/conajlepsze/index.php

I cant find image name: lg Gh 34

This foto is on first page in new images.

Search have bug, dont see word:   lg
« Last Edit: February 14, 2007, 03:35:51 AM by ajuzo »

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Search problem
« Reply #1 on: February 14, 2007, 09:56:04 AM »
By default the 4images search indexes words with an minimum length of 3 characters.

you can change it in the includes/constants.php:

Code: [Select]
// All words <= MIN_SEARCH_KEYWORD_LENGTH and >= MAX_SEARCH_KEYWORD_LENGTH
// are not added to the search index
define('MIN_SEARCH_KEYWORD_LENGTH', 3);
define('MAX_SEARCH_KEYWORD_LENGTH', 25);
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline ajuzo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Search problem
« Reply #2 on: February 14, 2007, 10:16:12 AM »
I have in constants.php

Code: [Select]
define('MIN_SEARCH_KEYWORD_LENGTH', 1);
define('MAX_SEARCH_KEYWORD_LENGTH', 25);

i cant find word: lg


Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Search problem
« Reply #3 on: February 14, 2007, 12:03:23 PM »
Did you change the constants.php AFTER you uploaded the image?
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline ajuzo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Search problem
« Reply #4 on: February 14, 2007, 12:41:25 PM »
Did you change the constants.php AFTER you uploaded the image?

no

Thx for help now is ok for new images.