[ic] Different mv_substring_match for diff. fields

Mike Heins mike at perusion.com
Fri Jun 27 17:44:00 UTC 2008

Quoting Davor Ocelic (docelic at spinlocksolutions.com):
> Folks,
> I've got an IC search like this (on 5.4.2):
> <input type="hidden" name="mv_searchtype" value="db">
> <input type="hidden" name="mv_matchlimit" value="100">
> <input type="hidden" name="mv_sort_field"   value="part,title,description"> 
> <input type="hidden" name="mv_search_field" value="part,title,description">
> <input type="hidden" name="mv_substring_match" value="Yes">
> That works alright, but the problem is in specifying different
> mv_substring_match values for the three fields.
> Putting  name="mv_substring_match" value="0,1,1"  does not help,
> only the first option '0' is being used. (With or without the use
> of  mv_coordinate=1).

You can't do it without mv_coordinate. The comma method does not work
for things like that. You just need:

 <input type="hidden" name="su" value="0">
 <input type="hidden" name="su" value="1">
 <input type="hidden" name="su" value="1">

(su is the two-letter for mv_substring_match, which you can use also.)

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

There comes a time when you should stop expecting other people to make
a big deal about your birthday. That time is age 12. -- Dave Barry

More information about the interchange-users mailing list