[3.0.4] Sphinx extended search characters not functioning
Submitted Mark, Nov 13 2009 12:57 PM | Last updated Dec 09 2009 09:17 AM
An issue has been identified in IP.Board 3.0.4 where search terms extended search characters (for example "invision power") are not functioning correctly.
This only affects those using Sphinx.
This issue has been addressed for the next version of IP.Board (3.0.5) but included are manual patch instructions for affected users.
Open admin/sources/classes/search/sphinxIndexPlugin.php
Find:
Add above:
If you are not sure how to make these changes or the problem persists after making the changes, then please contact technical support for further assistance.
This only affects those using Sphinx.
This issue has been addressed for the next version of IP.Board (3.0.5) but included are manual patch instructions for affected users.
Open admin/sources/classes/search/sphinxIndexPlugin.php
Find:
/* Do the search */ $results = $this->_searchQuery( $search_term, $limit_clause, $sort_by, $group_by, false, $content_title_only );
Add above:
$search_term = str_replace( '"', '"', $search_term ); $search_term = str_replace( '&', '&', $search_term );
If you are not sure how to make these changes or the problem persists after making the changes, then please contact technical support for further assistance.











0 Comments