[ic] Partial search

Joachim Leidinger interchange-users@interchange.redhat.com
Tue Apr 2 03:24:02 2002


Alma Nuker wrote:
> 
> Hi list;
> 
> I am trying to inplement my search in such way that I do not have to
> enter full search text just partial text, ie. for example I want to be
> able to enter just alm not full text alma and still get some results.
> 
> Do you guys have any ideas  how to do this???
> 
> I tried following (whcih works fine with full text match),, but not with
> partial text match:
> 
......
> <!-- ----- BEGIN REAL STUFF ----- -->
> <FORM ACTION="[process]">
> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="@@MV_PAGE@@">
> <INPUT TYPE=hidden NAME=mv_todo VALUE=back>
> [search-region more=1 search="
>   fi=evaluationdb
>   ml=20
>   md=1
>   st=db
>   [if cgi mv_like_spec]
>       [cgi ui_text_qualification]
>   [elsif cgi ui_text_qualification]
>       se=[cgi ui_text_qualification]
>   [/elsif]
>   [else]
>       co=yes
>       sf=company
>       se=1
>       op=ne
>   [/else]
>   [/if]
>   [if cgi ui_sort_field]
>       tf=[cgi ui_sort_field]
>       to=[cgi ui_sort_option]
>   [else]
>       tf=0
>   [/else]
>   [/if]
>   [scratch start_at][set start_at][/set]
> 
> rf=evaluation_id,company,address1,city,state,country,zip,license_type,licencekey
> 
> "]

Why is co=yes using? I can see one searchfield sf=company only. Remove
it and add su=yes and try it.
Hope it helps you.

.....
> Any ideas??? Any help would be welcome.
> 
> Thanks
> 
> Alma

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de] 
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de