[ic] coordinated search breaking
Paul Jordan
interchange-users@interchange.redhat.com
Sun May 5 15:48:01 2002
Hi guys
Here is a search I am doing. For some reason, I can't type multiple words in
for the first mv_searchspec (the text input). If I type in:
water lake minnesota
IC will look for:
water\ lake\ minnesota
It searches for those literally, and I don't know why. I want it to be
something like "look for" water and lake and minnesota. It doesn't matter
what characters I try, it always adds a "\".
This worked in a regular search. I have recently delved into coordinated
searches. Does coordinated searches not allow multiple word user input?
here is the search so far:
<form action="[area search]" method=post>
<input type=hidden name=mv_session_id value="[data session id]">
<INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
<INPUT TYPE=hidden NAME=mv_coordinate VALUE=yes>
<INPUT TYPE="hidden" name="mv_substring_match" value="yes">
<INPUT TYPE=hidden NAME=mv_search_field VALUE=searched>
<INPUT TYPE=hidden NAME=mv_searchspec VALUE=1>
<input type=hidden name=mv_column_op value=">=">
<input type=hidden name=mv_numeric value=1>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=searched>
<INPUT TYPE=hidden NAME=mv_searchspec VALUE=2>
<input type=hidden name=mv_column_op value="<=">
<input type=hidden name=mv_numeric value=1>
#Problem area
<input type=hidden name=mv_search_field value=":*">
<INPUT MAXLENGTH=30 NAME=mv_searchspec type="text" size=12px>
<input type=hidden name=mv_column_op value=em>
<input type=hidden name=mv_numeric value=0>
#End problem area
<input type=hidden name=mv_search_field value="prod_group">
<select name=mv_searchspec size=12px>
<option value="audio">Audio
<option value="image">Image
<option value="ipix">Ipix
<option value="stereo">Stereo
<option value="video">Video
</select>
<input type=hidden name=mv_column_op value=rm>
<input type=hidden name=mv_numeric value=0>
<input type=hidden name=mv_search_field value=":*">
<INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=12px>
<input type=hidden name=mv_column_op value=rn>
<input type=hidden name=mv_numeric value=0>
<select name=mv_matchlimit>
<option value="[control matches 12]">12
<option value="[control matches 18]">18
<option value="[control matches 24]">24
</select>
<input type="image" alt="Search I|M" border="0"
src="__BUTTON_DIR__/search.gif"></form>
-----------------------------
Forgive the ugly ">=" stuff, It turns out you cannot use range searching
with coordinated searches.
Thanks in advance for any clues
Paul