4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 22, 2018, 12:19:41 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  Discovered something strange about the search function
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Discovered something strange about the search function  (Read 1279 times)
kitty999
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 1
-Receive: 0


View Profile WWW
« on: June 15, 2017, 07:15:15 PM »

I recently discovered if i search for an image with a spelled number (for example three, two, one, etc.) it says no matching records. I have images with the word three, one, etc in them but it doesn't recognize the 'number' words. Anyone else have this problem?

I'm using 4images 1.7.13
I have quite a bit of mods but nothing I know that would cause this.

Any help is greatly appreciated.
Logged

nobby
4images Guru
*******
Offline Offline

Posts: 2822

Thank You
-Given: 9
-Receive: 70


View Profile
« Reply #1 on: June 15, 2017, 09:03:38 PM »

Hello,

Maybe you could help  Arrow http://www.4homepages.de/forum/index.php?topic=1096.0


nobby
Logged
kitty999
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 1
-Receive: 0


View Profile WWW
« Reply #2 on: June 16, 2017, 12:36:13 PM »

Thanks for the quick response nobby,

I have that plugin and have reindexed but it still won't search numeric spelled words (one,two,three). All the other words are indexed fine. The numeral words even show up on the details page as keywords but when clicked on they're not found. My mind is boggled.
Logged

nobby
4images Guru
*******
Offline Offline

Posts: 2822

Thank You
-Given: 9
-Receive: 70


View Profile
« Reply #3 on: June 16, 2017, 04:54:24 PM »

Then I'm a bit helpless at the moment.

You have not changed anything, or.
Logged
kitty999
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 1
-Receive: 0


View Profile WWW
« Reply #4 on: June 16, 2017, 06:50:22 PM »

Thanks anyway,
 I have a lot of MODS and have changed so much in the script it's really hard to tell, I just don't know what could possibly cause it. I'll keep fiddling and if I find out I'll post it.
Logged

nobby
4images Guru
*******
Offline Offline

Posts: 2822

Thank You
-Given: 9
-Receive: 70


View Profile
« Reply #5 on: June 16, 2017, 07:15:39 PM »

OK!

If I know something new, I'll sign up.


EDIT:
Search in includes/constants.php
1
define('MIN_SEARCH_KEYWORD_LENGTH', 3);

Change to
1
define('MIN_SEARCH_KEYWORD_LENGTH', 2);

Then rebuild the search index
« Last Edit: June 16, 2017, 07:29:57 PM by nobby » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.069 seconds with 19 queries.