Quick Search Quirk?
-
Collectonian
- Regular
- Posts: 17
- Joined: Thu Nov 04, 2004 10:54 pm
- Location: Bryan-College Station, TX
- Contact:
Quick Search Quirk?
Is there something set up on the Quick Search (version 1.0.1) that keeps it from searching certain words? If I try to search for "From Far Away" it tells me there are no results, when there should be around 6 or 7. At first I thought it was refusing to search entries from 2006, but I tried some other searches and they worked fine. I was eventually able to find the entries I needed by searching for a character name that appears in all the entries, but I'm wondering why it couldn't find them by the title. Any ideas?
-
Collectonian
- Regular
- Posts: 17
- Joined: Thu Nov 04, 2004 10:54 pm
- Location: Bryan-College Station, TX
- Contact:
-
Collectonian
- Regular
- Posts: 17
- Joined: Thu Nov 04, 2004 10:54 pm
- Location: Bryan-College Station, TX
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The code runs within the MySQL system.
The SQL code that's executed can be found in include/functions_entries.inc.php, function serendipity_searchEntries().
You can only replace the code to use a "LIKE" search instead of the MySQL fulltext search. This will be much, much slower though. You can't tune the MySQL fulltextsearch to exclude stopwords or return more than X% if all entries match...
Best regards,
Garvin
The code runs within the MySQL system.
The SQL code that's executed can be found in include/functions_entries.inc.php, function serendipity_searchEntries().
You can only replace the code to use a "LIKE" search instead of the MySQL fulltext search. This will be much, much slower though. You can't tune the MySQL fulltextsearch to exclude stopwords or return more than X% if all entries match...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Collectonian
- Regular
- Posts: 17
- Joined: Thu Nov 04, 2004 10:54 pm
- Location: Bryan-College Station, TX
- Contact:
Thanks. I'll have to take the performance hit. The search is useless if it refuses to find the 17 entries for a title like From Far Away for reasons I can't even figure out. Even adding quotes doesn't help. Since it as hosted environment, I can't fine tune the mySQL fulltext stuff to try and fix the issue, so I'll have to "resort" to a regular old-fashioned search.