MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Fast Binary Search Not Ignoring Case - Solution




----- Original Message -----
From: Bill Betz <bill@pennherb.com>
To: Minivend <minivend-users@minivend.com>
Sent: Monday, June 28, 1999 4:16 PM
Subject: Fast Binary Search Not Ignoring Case


> ******    message to minivend-users from "Bill Betz" <bill@pennherb.com>
******
>
> Hello List:
>
> I have fast binary search working fine on a MV created index file.
> However, it does *not* ignore case (as it seems it should).
>
> Example:
> In products.asc.itemno file are found these entries:
> E58e    7243
> E58g    7251
> E58h    7258
> E58k    7241
> E58m    7242
> E58n    7403
> E58p    7249
> E58q    7256
>
> Searching for "E58" shows all of them. (Upper case "E")
>
> Searching for "e58" I get "Sorry, no matches for e58. "
>
> Have also tried:
> <INPUT TYPE=HIDDEN NAME=mv_case VALUE="no">
> even though this should not be necessary, since default is "no".
>
> Here is the search code:
>
> <FORM ACTION="[process-search]" METHOD=POST>
> <INPUT TYPE=TEXT NAME="mv_dict_look" SIZE=6>
> <INPUT TYPE=hidden NAME=mv_dict_limit    VALUE="-1">
> <INPUT TYPE=HIDDEN NAME=mv_search_file VALUE="products.asc.itemno">
> <INPUT TYPE=HIDDEN NAME=mv_return_fields VALUE="1">
> <INPUT TYPE=HIDDEN NAME=mv_substring_match VALUE="yes">
> <INPUT TYPE=HIDDEN NAME=mv_matchlimit VALUE="10">
> <INPUT TYPE="image" HEIGHT="18" WIDTH="25" BORDER="0" NAME="search"
> VALUE="Go" SRC="go.gif">
> </FORM>

Thanks to Mike H, added this and it works like a charm.

<INPUT TYPE=HIDDEN NAME=mv_dict_fold VALUE="yes">

Bill Betz
bill@pennherb.com
Penn Herb Company, Ltd.
10601 Decatur Road
Philadelphia, PA 19154
(215) 632-6100 X301
--
Visit our websites at:
http://www.pennherb.com and http://www.olbas.com
--
Over 7000 herbs and healthy products on line at:
http://www.pennherb.com/cgibin/herbstore.cgi
--



Search for: Match: Format: Sort by: