<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Suggest Framework and problems with several numerical orders</title>
        <description> Suggest Framework and problems with several numerical orders
This bug we already discussed a year ago, but as there was no solution until now, I try again.
Ensure that telephone numbers like 0078142 and some ZIP-codes like 77887 or something close are part of your searchkeywords database. 
As admin, enable 'Enable Sphider Suggest' and 'Search for suggests in keywords'.
Now please search for: 007  - My suggest table shows several correct results for all numbers starting with 007.
Now search for: 778  - My suggest table offers:
0    13 results
1     5 results
2     3 results
as wrong suggestion.

My solution for this bug (?) :
Open /include/js_suggest/suggest.php
Search for: 
    arsort($values);
Remove the following row and enter instead:

    $non_slice = &amp;quot;[123456789]&amp;quot;;
    if (!ereg($non_slice,($_GET['q']))) {
    $values = array_slice($values, 0, $suggest_rows);
    }

Is this my personal problem or could this behavior been confirmed by anyone else?
Tec</description>
        <link>http://www.sphider.eu/forum/read.php?2,73,73#msg-73</link>
        <lastBuildDate>Thu, 20 Jun 2013 13:32:02 +0300</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?2,73,73#msg-73</guid>
            <title>Suggest Framework and problems with several numerical orders</title>
            <link>http://www.sphider.eu/forum/read.php?2,73,73#msg-73</link>
            <description><![CDATA[ Suggest Framework and problems with several numerical orders<br />
This bug we already discussed a year ago, but as there was no solution until now, I try again.<br />
Ensure that telephone numbers like 0078142 and some ZIP-codes like 77887 or something close are part of your searchkeywords database. <br />
As admin, enable 'Enable Sphider Suggest' and 'Search for suggests in keywords'.<br />
Now please search for: 007  - My suggest table shows several correct results for all numbers starting with 007.<br />
Now search for: 778  - My suggest table offers:<br />
0    13 results<br />
1     5 results<br />
2     3 results<br />
as wrong suggestion.<br />
<br />
My solution for this bug (?) :<br />
Open /include/js_suggest/suggest.php<br />
Search for: <br />
    arsort($values);<br />
Remove the following row and enter instead:<br />
<br />
    $non_slice = &quot;[123456789]&quot;;<br />
    if (!ereg($non_slice,($_GET['q']))) {<br />
    $values = array_slice($values, 0, $suggest_rows);<br />
    }<br />
<br />
Is this my personal problem or could this behavior been confirmed by anyone else?<br />
Tec]]></description>
            <dc:creator>Tec</dc:creator>
            <category>Sphider Support</category>
            <pubDate>Mon, 26 Mar 2007 15:46:49 +0300</pubDate>
        </item>
    </channel>
</rss>
