Filtering search results by the crawled source host

MondoSearch allows passing a single filter and filter value, at a time, as a parameter in its URL. This is very helpful when one has a Mondosearch instance crawling multiple sites, uses the cgi-bin default template, and wants to retrieve the filtered results from various searching sites. For example, if you have the following two searching web sites:
www.example.en
www.example.dk
and you own only one MondoSearch grabbing instance that crawls both www.example.en and www.example.dk, and when searching from the English site you would like to obtain only the result pages from the www.example.en and when searching from the Danish site you need to retrieve only the result pages from the www.example.dk, then this can be solved by sending specific filtered URL queries fom the searching sites, like http://instance.mondosearch.com/cgi-bin/Msmfind.exe?&query=metlife&FILTERNAME=@URL&FILTERVALUE=www.example.dk

To do so, update your searching hosts MondoSearch form from the usual:

&lt form name=“search” method=“get” action=“http://instance.mondosearch.com/cgi-bin/MsmFind.exe” target=”_self &gt
&lt td width=“220”&gt&lt input name=“QUERY” type=“text” class=“input” id=“QUERY” style=“width:200px; margin-left:10px;” value=“keyword”&gt&lt/td&gt
&lt td&gt&lt input name=“submit” type=“submit” id=“submit” value=“Go” class=“button2” /&gt&lt/td&gt
&lt /form&gt

to:

&lt form name=“search” method=“get” action=“http://instance.mondosearch.com/cgi-bin/MsmFind.exe” target=”_self”&gt
&lt td width=“220”&gt&lt input name=“QUERY” type=“text” class=“input” id=“QUERY” style=“width:200px; margin-left:10px;” value=“keyword”&gt&lt/td&gt
&lt td&gt&lt input name=“submit” type=“submit” id=“submit” value=“Go” class=“button2” /&gt&lt/td&gt
&lt input name=“FILTERNAME” type=“hidden” value=”@URL” /&gt&lt input name=“FILTERVALUE” type=“hidden” value=“www.example.en”/&gt
&lt /form&gt

for the www.example.en searching host. And with:

&lt form name=“search” method=“get” action=“http://instance.mondosearch.com/cgi-bin/MsmFind.exe” target=”_self”&gt
&lt td width=“220”&gt&lt input name=“QUERY” type=“text” class=“input” id=“QUERY” style=“width:200px; margin-left:10px;” value=“keyword”&gt&lt/td&gt
&lt td&gt&lt input name=“submit” type=“submit” id=“submit” value=“Go” class=“button2” /&gt&lt/td&gt
&lt input name=“FILTERNAME” type=“hidden” value=”@URL” /&gt&lt input name=“FILTERVALUE” type=“hidden” value=“www.example.dk”/&gt
&lt /form&gt

for the www.example.dk searching host.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment