<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Indexing multilingual servers</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="mnoGoSearch 3.3.9 reference manual" HREF="index.html"><LINK REL="UP" TITLE="Multiple languages support" HREF="msearch-international.html"><LINK REL="PREVIOUS" TITLE=" Segmenters for Chinese, Thai and Japanese languages " HREF="msearch-cjk.html"><LINK REL="NEXT" TITLE="Searching documents" HREF="msearch-doingsearch.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="mnogo.css"><META NAME="Description" CONTENT="mnoGoSearch - Full Featured Web site Open Source Search Engine Software over the Internet and Intranet Web Sites Based on SQL Database. It is a Free search software covered by GNU license."><META NAME="Keywords" CONTENT="shareware, freeware, download, internet, unix, utilities, search engine, text retrieval, knowledge retrieval, text search, information retrieval, database search, mining, intranet, webserver, index, spider, filesearch, meta, free, open source, full-text, udmsearch, website, find, opensource, search, searching, software, udmsearch, engine, indexing, system, web, ftp, http, cgi, php, SQL, MySQL, database, php3, FreeBSD, Linux, Unix, mnoGoSearch, MacOS X, Mac OS X, Windows, 2000, NT, 95, 98, GNU, GPL, url, grabbing"></HEAD ><BODY CLASS="sect1" BGCOLOR="#EEEEEE" TEXT="#000000" LINK="#000080" VLINK="#800080" ALINK="#FF0000" ><!--#include virtual="body-before.html"--><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" ><SPAN CLASS="application" >mnoGoSearch</SPAN > 3.3.9 reference manual: Full-featured search engine software</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="msearch-cjk.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 9. Multiple languages support</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="msearch-doingsearch.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="vary" >Indexing multilingual servers</A ></H1 ><A NAME="AEN4392" ></A ><P > Some HTTP servers can be configured to support multiple versions of the same document, written in different languages. The server decides which version of the document to send to the browser during so called <TT CLASS="literal" >HTTP content negotiation</TT >, according to the browser settings. For example, in case of <SPAN CLASS="application" >Firefox</SPAN > Web browser, you can select your preferred language going to the <TT CLASS="literal" >Edit</TT > > <TT CLASS="literal" >Preferences</TT > > <TT CLASS="literal" >Content</TT > > <TT CLASS="literal" >Languages</TT > menu. </P ><P ><SPAN CLASS="application" >mnoGoSearch</SPAN > supports language negotiation with help of the <B CLASS="command" ><A HREF="msearch-cmdref-varylang.html" >VaryLang</A ></B > command. This command specifies a space-separated list of the desired language codes. <SPAN CLASS="application" >indexer</SPAN > will download and index all versions of the documents. </P ><P >Usage example: <PRE CLASS="programlisting" > VaryLang "ru en fr" </PRE > <B CLASS="command" >indexer</B > will fetch all document copies, written in Russian, English and French languages. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > At search time you can limit <SPAN CLASS="application" >search.cgi</SPAN > return only pages written in a certain language by passing using the <TT CLASS="literal" >g</TT > HTML form variable. Have a look into <A HREF="msearch-doingsearch.html#search-params" >the Section called <I >Search parameters <A NAME="AEN4440" ></A ></I > in Chapter 10</A > for details. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="msearch-cjk.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="msearch-doingsearch.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Segmenters for Chinese, Thai and Japanese languages</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="msearch-international.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Searching documents</TD ></TR ></TABLE ></DIV ><!--#include virtual="body-after.html"--></BODY ></HTML >