- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: How to limit search to one website in cache storage mode ?

For cache mode, you may use Limit by site_id, see 
http://www.dataparksearch.org/dpsearch-cachemode.en.html#limits
You need to add this command to your indexer.conf (or cached.conf if cached is 
used) and search.htm (searchd.conf, if searchd is used):
Limit site:siteid
To create this limit you need to execute "indexer -TW" command, or simple add 
-W switch to indexer.

Also note on this section in search.htm-conf tempale:

              <!IFNOT NAME="sitelimit_href" CONTENT="">
              <DD><small>[<a href="$(self)$(sitelimit_href)">All results from 
this site
                    <!IFNOT NAME="PerSite" CONTENT="0"> ($(PerSite) 
total)<!ENDIF>
                </a>]</small></DD>
              <!ENDIF>

It allow to select only results from one site specified at search result page. 
Unfortinately, there no way to specify desired hostname in search query.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://dataparksearch.com/cgi-bin/simpleforum.cgi?fid=02;topic_id=1157643518

Reply via email to