[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] exact match
****** message to minivend-users from "Lyn St George" <lyn@zolotek.com> ******
On Tue, 18 Apr 2000 12:51:23 -0400 (EDT), briank@nacs.net wrote:
>
>My question/problem, is that I have a site that has different categories,
>one of the categories is named Insulin, and there are three other
>categories that have the worsd Insulin in them. The searches for the
>larger categories work fine, but if you do a search for Insulin, it
>returns every caegory with the word Insulin in it. I have tried to use
>mv_exact match, but I can't seem to get it to work.
>
>here's the snippet od code that I am using to do this:
>
>Here's a profile that I tried to set up. I couldn't get it to work.
>
>[set default_profile]
>mv_search_field=category
>mv_match_limit=6
>mv_exact_match
>[/set]
>
>and....Here's the code that I need to get to work...
>
><TR><TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]"
>METHOD=POST>
><INPUT TYPE="hidden" NAME=|mv_exact_match" VALUE="YES" <!------I saw the
>term YES being used by someone in the archives------->
><INPUT TYPE="hidden" NAME="mv_matchlimit" VALUE="[var DISPLAYNUM]">
><INPUT TYPE="hidden" NAME="mv_search_field" VALUE="category">
><INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Insulin">
><INPUT TYPE="image" SRC="[var SBIMAGEINS]" BORDER="0"
>ALT="Insulin"><BR></TD></TR></FORM>
I remember having this same trouble, and couldn't get a proper
solution. A workaround (kludge, lateral thinking, whatever ..) is to
use "hs=xxx", where xxx is the number of lines to "head skip" from
the top of the products.asc, before finding any instance of 'insulin'
without a modifier. IOW, put 'insulin' below 'red insulin', 'blue insulin',
etc in products.asc, then a search for just 'insulin' will skip the
other ones. This was in MV 3.14.
Cheers
Lyn
>
>---------------------------------
>Brian Kosick
>New Age Consulting Service
>www.nacs.net
>nacs-support@nacs.net
>216-619-2000
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list