Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a2d29ba77c8fe4d655c72d0b897f51ad > files > 363

mnogosearch-3.3.8-3mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Tracking search queries
    
  </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="mnoGoSearch 3.3.8 reference manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Searching documents"
HREF="msearch-doingsearch.html"><LINK
REL="PREVIOUS"
TITLE="Ranking documents
     
  "
HREF="msearch-rel.html"><LINK
REL="NEXT"
TITLE="Search results cache
    
  "
HREF="msearch-srcache.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.8 reference manual: Full-featured search engine software</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="msearch-rel.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 10. Searching documents</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="msearch-srcache.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="track"
>Tracking search queries
    <A
NAME="AEN5917"
></A
></A
></H1
><P
>&#13;    <SPAN
CLASS="application"
>mnoGoSearch</SPAN
> supports <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>search query tracking</I
></SPAN
>,
    which is useful to have statistics about your search engine usage, such as
    the most popular queries, the recent queries, the average time spent to
    process a search query, and so on.
  </P
><P
> Query tracking is switched off by default.
  To enable tracking, add the <TT
CLASS="literal"
>trackquery=yes</TT
>
  parameter to the <A
HREF="msearch-cmdref-dbaddr.html"
>DBAddr</A
>
  command in your search template.
  </P
><P
>When performing search, the
  front-end uses the <TT
CLASS="literal"
>qtrack</TT
> table to
  store the following data:

  <P
></P
><UL
><LI
><P
>&#13;      query words
      </P
></LI
><LI
><P
>&#13;      client IP address
      </P
></LI
><LI
><P
>&#13;      the number of documents found
      </P
></LI
><LI
><P
>&#13;      time spent for search (in milliseconds)
      </P
></LI
><LI
><P
>&#13;      the current <SPAN
CLASS="application"
>UNIX</SPAN
> timestamp (in seconds from Epoch).
      </P
></LI
></UL
>
  Other search parameters are stored in the <TT
CLASS="literal"
>qinfo</TT
> table.
  </P
><P
>To make a summary of the search queries,
  you can execute, for example, this SQL query:
<PRE
CLASS="programlisting"
>&#13;SELECT qwords,count(*),sum(found),avg(found) FROM qtrack GROUP BY qwords;
</PRE
>
  </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-rel.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-srcache.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Ranking documents
     <A
NAME="AEN5668"
></A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="msearch-doingsearch.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Search results cache
    <A
NAME="AEN5944"
></A
></TD
></TR
></TABLE
></DIV
><!--#include virtual="body-after.html"--></BODY
></HTML
>