[ic] partial match on search results

Stefan Hornburg Racke interchange-users@icdevgroup.org
Thu Jul 11 05:56:05 2002


"Aaron Hazelton" <aaronmail@hazenet.net> writes:

> Hi list!
> 
> too often, you only get complaints instead
> of compliments, so congrats again on a 
> great program! IC rules!
> 
> anyways, here's what I want to do: IC will
> return a result if the string is PART of the 
> matching word, but I also want the opposite,
> if PART of the string matches a whole word.
> 
> for example in searching for a model number:
> 
> this works:
>   search for "foo12"
>   returns results "foo1245"
>                         "foo124"
> (as I recall I think this is because of the 
> mv_substring_match param)
> 
> what I want:
>   search for "foo12bar"
>   returns results "foo12b"
>                         "foo12ba"
>                         "foo12bar"
> 
> is there a parameter for doing this?  I hope that
> makes sense, but with lots of model numbers
> sometimes a customer may type in a complete
> model number and your item may contain only 
> the BASE of the model number.

AFAIK there is no such parameter, but you can easily limit the search
string in mv_click or with a filter, so foo12bar becomes foo12b 
before the search routine is called.

Ciao
        Racke

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.