Search Site          
 
Home  

Servers tab

This is the main tab to configure servers you wish to index and server-specific indexing options. To add a new server press New server button.

In Name field enter description for the server. URL - your server URL. Alias - enter your server alias, see Chapter 10., URL aliases for details. In Type menu select match type for your server or alias. Select follow mode: Page to index only one document, Path to index documents stored in the specified path only, Site to index all the documents belonging to current site and World to make indexer follow all external links. In case the server access is restricted, enter Login and Password to access the server.

If you are using a proxy server on your network, enter Proxy address, Port, Login and Password.

Options tab in Server settings

Configure server-specific indexing options here.

In Period field enter expiration period for the documents stored on the server in seconds (the default value is 604800 which stands for 1 week).

Limit number of Hops indexer may use to access the server.

Select Character set of the documents stored on the server.

Specify timeout for connection to the server in seconds, limit number of network errors and specify delay in seconds after network error occurs.

If you want indexer to index ID3 information found in mp3 files, i.e. song title, artist name, etc., check the Check mp3 tag flag. Note that you have to allow indexing mp3 files first in Documents tab, see the section called “Documents tab” for details.

Check Check only mp3 tag flag to index only data found in ID3 tags of mp3 files, and scan other documents for links only.

In Tag field you may assign a specific tag for the server, see Chapter 18., Tags for details.

Specify a category of the server by filling the Category field, see Chapter 19., Categories for details.

Choose default language of the server by selecting a language in Charset menu.

Indexing on LAN

To index documents on a remote computer in your Local Area Network, enter the path to the Server field in the following format:

					
file://HOST_NAME/SHARED_FOLDER/.../

				

With Login:Password if required.

Flags tab in Server settings

Modes:

  • Index: Check this box to index server, uncheck to grab links only

  • Delete bad URL's: Delete URL's with no corresponding document from database

  • Robots: Check robots.txt file on server

Using weights:

You can specify what parts of a document are to be indexed and taken into account in weight calculation. To assign specific weights to various parts of a document, you have to edit search.htm search template.

It is possible to pass "wf" HTML form variable to search.exe. "wf" variable represents weight factors for specific document parts. Currently body, title, keywords, description, url are supported.

"wf" value is a string of hex digits ABCDE. Each digit is a factor for corresponding bit in word weight.

E is a factor for weight 1 (URLWeight bit)
D is a factor for weight 2 (BodyWeight bit)
C is a factor for weight 4 (TitleWeight bit)
B is a factor for weight 8 (KeywordWeight bit)
A is a factor for weight 16 (DescWeight bit)

Examples:

  • wf=00001 will search through URLs only.

  • wf=00100 will search through Titles only.

  • wf=11100 will search through Title, Keywords, Description but not through URL and Body.

  • wf=F9421 will search through:


              Description with factor 15  (F hex)
              Keywords with factor 9
              Title with factor  4
              Body with factor 2
              URL with factor 1

If "wf" variable is omitted in the query, original weight value is taken to sort results. For a given above weight configuration it means that document description has a most big weight 16.

Mirrors tab in Server settings

mnoGoSearch indexer can save copies of indexed documents and their HTTP headers on the local system. To turn this feature on, check Use mirrors flag, specify mirroring period in seconds and specify folders to store documents and HTTP headers.

Configuring multiple servers

You may want to specify similar parameters to a group of servers in your list. To do so, select two or more servers in the list by pressing and holding Ctrl button. Once you have selected the servers, press Edit settings button and Server settings (Group) dialog will appear:

It is similar to Server settings dialog, except for the buttons next to each parameter. If a button is pressed, it means that the present parameter if changed applies to all the servers of the selected group. If the button is not pressed, the parameter will not be changed.

Importing servers

To import servers press Import servers button and select a text file that contains a list of servers.

Every string of the file contains settings (URL, server name, server alias, etc.) for one server. There are as many strings as the number of servers you want to import. The format of strings:

					
ServerURL  Name  Alias  Parameter1:Value1  ...   ParameterN:ValueN 
				

Fields may be delimited with tab sign, semicolon or any other item separation symbol you want (select delimiter you use in Import servers dialog). All parameters except "ServerURL" are optional.

The following settings for imported server are supported:

  • Name - a description for the server.

  • Alias - a server alias.

  • Login - a login to access the server.

  • Password - a password to access the server.

  • Proxy - a proxy address.

  • ProxyPort - a proxy port.

  • ProxyLogin - a proxy login.

  • ProxyPassword - a proxy password.

  • ServerType - a type of the server; you can specify one of the following values for this parameter:


    URLPage
    URLPath
    URLSite
    URLWorld
    RegExpMatch
    RegExpNotMatch
    StringMatch
    StringNotMatch
                     

    Use URLPage, URLPath, URLSite to index correspondingly only one document, documents stored in the specified path only or all the documents belonging to current site. Use URLWorld to make indexer follow all external links. As regards RegExpMatch, RegExpNotMatch, StringMatch, StringNotMatch, Match means that server URL match given URL mask, NotMatch has the opposite meaning, String means that URL mask is a string with wildcards comparison and RegExp means that mask is a regular expression comparison.

  • Category - a category of the server.

  • Tag - a tag of the server.

  • Lang - a language of the server, e.g. en, fr, ru.

  • Charset- a charset of the documents stored on the server, e.g. us-ascii, iso-8859-2, koi8-r.

  • CheckMp3Tag - set this parameter if you want indexer to index ID3 information found in mp3 files, i.e. song title, artist name, etc.; this parameter can take on Off or On as argument.

  • CheckOnlyMP3Tag - set this parameter if you want indexer to index only data found in ID3 tags of mp3 files, and scan other documents for links only; this parameter can take on Off or On as argument.

For example, the file may look like this:

					
http://mysite1.com; MainServer; Login:my_login; Password:my_password
					
http://mysite2.com; NewsServer; Lang:en; Charset:iso-8859-2
					
http://mysite3.com; CheckOnlyMp3Tag:On
				



Copyright © 2000-2011 Lavtech.Com Corp.