[ic] limit matches from swish search

Stefan Hornburg (Racke) racke at linuxia.de
Tue Feb 14 18:44:54 UTC 2012

On 02/14/2012 05:40 PM, DB wrote:
> I have the following search and it works OK:
> <form action="[area search]" method=post>
> <INPUT TYPE=hidden NAME=mv_substring_match VALUE=1>
> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=swish>
> <INPUT TYPE=hidden NAME=mv_min_string VALUE=3>
> <INPUT TYPE=hidden NAME=mv_search_page VALUE="results_swish">
> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE="15">
> <INPUT TYPE=hidden NAME=mv_max_matches VALUE="100">
> <INPUT MAXLENGTH=40 NAME=mv_searchspec type=text><br>
> <input type="image" alt="[L]Search Go[/L]" border="0"
> src="__THEME_IMG_DIR__go.gif">
> </form>
> the results page uses a more list. The mv_matchlimit appears to limit
> the number of results shown on each page. I'm seeking a way to limit the
> overall number of results, but mv_max_matches does not seem to do that.
> Is it possible to limit the overall number of results returned?

If I read the source code correctly, Swish search doesn't support this
mv_max_matches parameter.

The swish-e commandline supports maximum matches (-m) and beginning
result (-b), so I suppose the Perl API has these too.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list