<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >CaseFolding</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="mnoGoSearch command reference" HREF="msearch-cmdref.html"><LINK REL="PREVIOUS" TITLE="Cache" HREF="msearch-cmdref-cache.html"><LINK REL="NEXT" TITLE="Category" HREF="msearch-cmdref-category.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="refentry" 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-cmdref-cache.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="msearch-cmdref-category.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="cmdref-casefolding" ></A >CaseFolding</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN7642" ></A ><H2 >Name</H2 ><B CLASS="command" >CaseFolding</B > -- chooses an alternative case mapping<P ><B ></B ><TT CLASS="filename" >indexer.conf</TT ></P ><P ><B ></B ><TT CLASS="filename" >search.htm</TT ></P ></DIV ><DIV CLASS="refsynopsisdiv" ><A NAME="AEN7650" ></A ><H2 >Synopsis</H2 ><P ><B CLASS="command" >CaseFolding</B > {default | turkish | turkish2}</P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7657" ></A ><H2 >Description</H2 ><P >When storing word information to the database, <SPAN CLASS="application" >indexer</SPAN > converts the words to lower case. Some languages can have special rules for case mapping. </P ><P > <P ><B ><B CLASS="command" >CaseFolding default</B ></B ></P > With <B CLASS="command" >CaseFolding</B > set to <TT CLASS="literal" >default</TT >, or when <B CLASS="command" >CaseFolding</B > is omitted, <SPAN CLASS="application" >mnoGoSearch</SPAN > applies "traditional" lower case mapping rules. <TT CLASS="literal" >U+0049 LATIN CAPITAL LETTER I</TT > is mapped to <TT CLASS="literal" >U+0069 LATIN SMALL LETTER I</TT >, while <TT CLASS="literal" >U+0130 LATIN CAPITAL LETTER I WITH DOT ABOVE</TT > does not change: <PRE CLASS="programlisting" > I -> i İ -> İ </PRE > </P ><P > <P ><B ><B CLASS="command" >CaseFolding turkish</B ></B ></P > With <B CLASS="command" >CaseFolding</B > set to <TT CLASS="literal" >turkish</TT >, <SPAN CLASS="application" >mnoGoSearch</SPAN > applies special rules when converting to lower case. <TT CLASS="literal" >U+0049 LATIN CAPITAL LETTER I</TT > is mapped to <TT CLASS="literal" >U+0131 LATIN SMALL LETTER DOTLESS I</TT >, and <TT CLASS="literal" >U+0130 LATIN CAPITAL LETTER I WITH DOT ABOVE</TT > is mapped to <TT CLASS="literal" >U+0069 LATIN SMALL LETTER I</TT >: <PRE CLASS="programlisting" > I -> ı İ -> i </PRE > which is suitable for <SPAN CLASS="emphasis" ><I CLASS="emphasis" >Turkish</I ></SPAN > and <SPAN CLASS="emphasis" ><I CLASS="emphasis" >Azerbaijani</I ></SPAN > languages. </P ><P > <P ><B ><B CLASS="command" >CaseFolding turkish2</B ></B ></P > With <B CLASS="command" >CaseFolding</B > set to <TT CLASS="literal" >turkish2</TT >, the letters <TT CLASS="literal" >U+0049 LATIN CAPITAL LETTER I</TT >, <TT CLASS="literal" >U+0130 LATIN CAPITAL LETTER I WITH DOT ABOVE</TT > and <TT CLASS="literal" >U+0131 LATIN SMALL LETTER DOTLESS I</TT > are mapped to <TT CLASS="literal" >U+0069 LATIN SMALL LETTER I</TT >: <PRE CLASS="programlisting" > I -> i İ -> i ı -> i </PRE > which is suitable for indexing <SPAN CLASS="emphasis" ><I CLASS="emphasis" >Turkish</I ></SPAN > and <SPAN CLASS="emphasis" ><I CLASS="emphasis" >English</I ></SPAN > sites in the same database. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > <TT CLASS="filename" >indexer.conf</TT > and <TT CLASS="filename" >search.htm</TT > should set <B CLASS="command" >CaseFolding</B > to the same value. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7702" ></A ><H2 >Scope</H2 ><P > <B CLASS="command" >CaseFolding</B > takes global effect for the entire configuration file and should be used only one time. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7706" ></A ><H2 >Examples</H2 ><DIV CLASS="informalexample" ><P ></P ><A NAME="AEN7708" ></A ><PRE CLASS="programlisting" > CaseFolding turkish </PRE ><P ></P ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7710" ></A ><H2 >See also</H2 ><P > <A HREF="msearch-fuzzy.html#accentinsensitive" >the Section called <I >Accent insensitive search <A NAME="AEN6418" ></A ></I > in Chapter 10</A >. </P ></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-cmdref-cache.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-cmdref-category.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Cache</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="msearch-cmdref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Category</TD ></TR ></TABLE ></DIV ><!--#include virtual="body-after.html"--></BODY ></HTML >