*** empty log message ***
This commit is contained in:
parent
1b681f0956
commit
ed3de70f2f
@ -27,10 +27,11 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
|
|
||||||
At the very least, you will need to download and install the xapian core
|
At the very least, you will need to download and install the xapian core
|
||||||
package (Recoll currently uses version 0.9.2), and the qt runtime and
|
package (Recoll currently uses version 0.9.2), and the qt runtime and
|
||||||
development packages (Recoll currently uses version 3.3.3).
|
development packages (Recoll development currently uses version 3.3.5, but
|
||||||
|
any 3.3 version is probably ok).
|
||||||
|
|
||||||
You will most probably be able to find a binary package for qt for your
|
You will most probably be able to find a binary package for qt for your
|
||||||
system. You may have to compile Xapian, but this is not difficult (if you
|
system. You may have to compile Xapian but this is not difficult (if you
|
||||||
are using FreeBSD, there is a port).
|
are using FreeBSD, there is a port).
|
||||||
|
|
||||||
You may also need libiconv. Recoll currently uses version 1.9 (this should
|
You may also need libiconv. Recoll currently uses version 1.9 (this should
|
||||||
|
|||||||
92
src/README
92
src/README
@ -142,6 +142,9 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
The resulting database can be big (roughly the size of the original
|
The resulting database can be big (roughly the size of the original
|
||||||
document set), but it is not a document archive. Recoll can only display
|
document set), but it is not a document archive. Recoll can only display
|
||||||
documents that still exist at the place from which they were indexed.
|
documents that still exist at the place from which they were indexed.
|
||||||
|
(Actually, there is a way to reconstruct a document from the information
|
||||||
|
in the database, but the result is not nice, as all formatting,
|
||||||
|
punctuation and capitalisation are lost).
|
||||||
|
|
||||||
Recoll stores all internal data in Unicode UTF-8 format, and it can index
|
Recoll stores all internal data in Unicode UTF-8 format, and it can index
|
||||||
files with different character sets, encodings, and languages into the
|
files with different character sets, encodings, and languages into the
|
||||||
@ -185,6 +188,15 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
interface to real time file modification monitors. The typical usage is to
|
interface to real time file modification monitors. The typical usage is to
|
||||||
have a nightly indexation run programmed into your cron file.
|
have a nightly indexation run programmed into your cron file.
|
||||||
|
|
||||||
|
+------------------------------------------------------------------------+
|
||||||
|
| Side note: there is nothing in Recoll and Xapian that would prevent |
|
||||||
|
| interfacing with a real time file modification monitor, but this would |
|
||||||
|
| tend to consume significant system resources for dubious gain, because |
|
||||||
|
| you rarely need a full text search to find documents you just |
|
||||||
|
| modified. recollindex -i can be used to add individual files to the |
|
||||||
|
| index if you want to play with this, see the manual page. |
|
||||||
|
+------------------------------------------------------------------------+
|
||||||
|
|
||||||
Recoll knows about quite a few different document types. The parameters
|
Recoll knows about quite a few different document types. The parameters
|
||||||
for document types recognition and processing are set in configuration
|
for document types recognition and processing are set in configuration
|
||||||
files Most file types, like HTML or word processing files, only hold one
|
files Most file types, like HTML or word processing files, only hold one
|
||||||
@ -258,13 +270,17 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
|
|
||||||
3.1. Simple search
|
3.1. Simple search
|
||||||
|
|
||||||
Start the recoll program, then enter search term(s) in the text field at
|
1. Start the recoll program.
|
||||||
the top left of the window. Clicking the Search button or hitting the
|
|
||||||
Enter key will start a search. By default, this will look for documents
|
2. Enter search term(s) in the text field at the top of the window.
|
||||||
with any of the terms (the ones with more terms will get better scores).
|
|
||||||
You can check the All terms checkbox to ensure that only documents with
|
3. Click the Search button or hit the Enter key to start the search.
|
||||||
all the terms will be returned. Use the Tools / Advanced search dialog for
|
|
||||||
more complex searches.
|
By default, this will look for documents with any of the search terms (the
|
||||||
|
ones with more terms will get better scores). You can check the All terms
|
||||||
|
checkbox to ensure that only documents with all the terms will be
|
||||||
|
returned. Use the Tools / Advanced search dialog for more complex
|
||||||
|
searches.
|
||||||
|
|
||||||
After starting a search, a list of results will instantly be displayed in
|
After starting a search, a list of results will instantly be displayed in
|
||||||
the main list window. Clicking on an entry will open an internal preview
|
the main list window. Clicking on an entry will open an internal preview
|
||||||
@ -276,14 +292,18 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
the system estimates that the document matches the query). You can specify
|
the system estimates that the document matches the query). You can specify
|
||||||
a different ordering by using the Tools / Sort parameters dialog.
|
a different ordering by using the Tools / Sort parameters dialog.
|
||||||
|
|
||||||
|
You can click on the first paragraph (Query results or No results found)
|
||||||
|
in the result list to get an exact display of the query actually
|
||||||
|
performed, after stem expansion and other processing.
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
3.2. Complex/advanced search
|
3.2. Complex/advanced search
|
||||||
|
|
||||||
The advanced search dialog has fields that will allow a more refined
|
The advanced search dialog has fields that will allow a more refined
|
||||||
search, looking for documents with all given words, a given exact phrase,
|
search, looking for documents with all given words, a given exact phrase,
|
||||||
or none of the given words (all fields may be combined by an implicit AND
|
or none of the given words (all relevant fields will be combined by an
|
||||||
clause).
|
implicit AND clause).
|
||||||
|
|
||||||
It will let you search for documents of specific mime types (ie: only
|
It will let you search for documents of specific mime types (ie: only
|
||||||
text/plain, or text/html or application/pdf etc...)
|
text/plain, or text/html or application/pdf etc...)
|
||||||
@ -294,6 +314,8 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
Click on the Start Search button in the advanced search dialog to start
|
Click on the Start Search button in the advanced search dialog to start
|
||||||
the search. The button in the main window always performs a simple search.
|
the search. The button in the main window always performs a simple search.
|
||||||
|
|
||||||
|
Click on the result list header paragraph to see the query expansion.
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
3.3. Document history
|
3.3. Document history
|
||||||
@ -347,15 +369,46 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
It is possible to customise some aspects of the search interface by using
|
It is possible to customise some aspects of the search interface by using
|
||||||
Query configuration entry in the Preferences menu.
|
Query configuration entry in the Preferences menu.
|
||||||
|
|
||||||
There are two tabs in the dialog, to modify the appearance of the user
|
There are two tabs in the dialog, dealing with the interface itself, and
|
||||||
interface (result list appearance), or the parameters used for searching
|
with the parameters used for searching and returning results.
|
||||||
(language used for stem expansion).
|
|
||||||
|
|
||||||
The stemming language can be chosen among those that were specified in the
|
User interface parameters:
|
||||||
configuration file, or later added with recollindex -s (See the
|
|
||||||
recollindex manual). Stemming languages which are dynamically added will
|
* Number of results in a result page
|
||||||
be deleted at the next indexation pass unless they are also added in the
|
|
||||||
configuration file.
|
* Result list font: There is quite a lot of information shown in the
|
||||||
|
result list, and you may want to customise the font and/or font size.
|
||||||
|
The rest of the fonts used by Recoll are determined by your generic QT
|
||||||
|
config (try the qtconfig command.
|
||||||
|
|
||||||
|
* Html help browser: this will let you chose your the preferred browser
|
||||||
|
which will be started from the Help menu to read the user manual. You
|
||||||
|
can enter a simple name if the command is in your PATH, or browse for
|
||||||
|
a full pathname.
|
||||||
|
|
||||||
|
* Show document type icons in result list: icons in the result list can
|
||||||
|
be turned off. They take quite a lot of space and convey relatively
|
||||||
|
little useful information.
|
||||||
|
|
||||||
|
Search parameters:
|
||||||
|
|
||||||
|
* Stemming language: stemming obviously depends on the document's
|
||||||
|
language. This listbox will let you chose among the stemming databases
|
||||||
|
which were built during indexing (this is set in the main
|
||||||
|
configuration file), or later added with recollindex -s (See the
|
||||||
|
recollindex manual). Stemming languages which are dynamically added
|
||||||
|
will be deleted at the next indexation pass unless they are also added
|
||||||
|
in the configuration file.
|
||||||
|
|
||||||
|
* Dynamically build abstracts: this decides if Recoll tries to build
|
||||||
|
document abstracts when displaying the result list. Abstracts are
|
||||||
|
constructed by taking context from the document information, around
|
||||||
|
the search terms. This can slow down result list display significantly
|
||||||
|
for big documents, and you may want to turn it off.
|
||||||
|
|
||||||
|
* Replace abstracts from documents: this decides if we should synthetize
|
||||||
|
and display an abstract in place of an explicit abstract found within
|
||||||
|
the document itself.
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
@ -367,10 +420,11 @@ More documentation can be found in the doc/ directory or at http://www.recoll.or
|
|||||||
|
|
||||||
At the very least, you will need to download and install the xapian core
|
At the very least, you will need to download and install the xapian core
|
||||||
package (Recoll currently uses version 0.9.2), and the qt runtime and
|
package (Recoll currently uses version 0.9.2), and the qt runtime and
|
||||||
development packages (Recoll currently uses version 3.3.3).
|
development packages (Recoll development currently uses version 3.3.5, but
|
||||||
|
any 3.3 version is probably ok).
|
||||||
|
|
||||||
You will most probably be able to find a binary package for qt for your
|
You will most probably be able to find a binary package for qt for your
|
||||||
system. You may have to compile Xapian, but this is not difficult (if you
|
system. You may have to compile Xapian but this is not difficult (if you
|
||||||
are using FreeBSD, there is a port).
|
are using FreeBSD, there is a port).
|
||||||
|
|
||||||
You may also need libiconv. Recoll currently uses version 1.9 (this should
|
You may also need libiconv. Recoll currently uses version 1.9 (this should
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
Dockes</holder>
|
Dockes</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
<releaseinfo>$Id: usermanual.sgml,v 1.4 2006-01-19 12:01:42 dockes Exp $</releaseinfo>
|
<releaseinfo>$Id: usermanual.sgml,v 1.5 2006-02-01 07:05:06 dockes Exp $</releaseinfo>
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
<para>This document introduces full text search notions
|
<para>This document introduces full text search notions
|
||||||
@ -116,9 +116,12 @@
|
|||||||
indexation. </para>
|
indexation. </para>
|
||||||
|
|
||||||
<para>The resulting database can be big (roughly the size of the
|
<para>The resulting database can be big (roughly the size of the
|
||||||
original document set), but it is not a document archive. &RCL;
|
original document set), but it is not a document
|
||||||
can only display documents that still exist at the place from which
|
archive. &RCL; can only display documents that still exist at
|
||||||
they were indexed.</para>
|
the place from which they were indexed. (Actually, there is a
|
||||||
|
way to reconstruct a document from the information in the
|
||||||
|
database, but the result is not nice, as all formatting,
|
||||||
|
punctuation and capitalisation are lost).</para>
|
||||||
|
|
||||||
<para>&RCL; stores all internal data in <application>Unicode
|
<para>&RCL; stores all internal data in <application>Unicode
|
||||||
UTF-8</application> format, and it can index files with
|
UTF-8</application> format, and it can index files with
|
||||||
@ -178,6 +181,17 @@
|
|||||||
<link linkend="rcl.indexing.automat">programmed</link> into your
|
<link linkend="rcl.indexing.automat">programmed</link> into your
|
||||||
<command>cron</command> file.</para>
|
<command>cron</command> file.</para>
|
||||||
|
|
||||||
|
<sidebar><para>Side note: there is nothing in &RCL; and &XAP;
|
||||||
|
that would prevent interfacing with a real time file
|
||||||
|
modification monitor, but this would tend to consume significant
|
||||||
|
system resources for dubious gain, because you rarely need a
|
||||||
|
full text search to find documents you just
|
||||||
|
modified. <command>recollindex -i</command> can be used to add
|
||||||
|
individual files to the index if you want to play with this, see
|
||||||
|
the manual page.</para>
|
||||||
|
</sidebar>
|
||||||
|
|
||||||
|
|
||||||
<para>&RCL; knows about quite a few different document
|
<para>&RCL; knows about quite a few different document
|
||||||
types. The parameters for document types recognition and
|
types. The parameters for document types recognition and
|
||||||
processing are set in
|
processing are set in
|
||||||
@ -278,12 +292,19 @@
|
|||||||
<sect1 id="rcl.search.simple">
|
<sect1 id="rcl.search.simple">
|
||||||
<title>Simple search</title>
|
<title>Simple search</title>
|
||||||
|
|
||||||
<para>Start the <command>recoll</command> program, then
|
<procedure>
|
||||||
enter search term(s) in the text field at the top left of the
|
<step><para>Start the <command>recoll</command> program.</para>
|
||||||
window. Clicking the <guilabel>Search</guilabel> button or
|
</step>
|
||||||
hitting the <keycap>Enter</keycap> key will start a search. By
|
<step><para>Enter search term(s) in the text field at the top of the
|
||||||
default, this will look for documents with any of the terms
|
window.</para>
|
||||||
(the ones with more terms will get better scores). You can
|
</step>
|
||||||
|
<step><para>Click the <guilabel>Search</guilabel> button or
|
||||||
|
hit the <keycap>Enter</keycap> key to start the search.</para>
|
||||||
|
</step>
|
||||||
|
</procedure>
|
||||||
|
|
||||||
|
<para>By default, this will look for documents with any of the
|
||||||
|
search terms (the ones with more terms will get better scores). You can
|
||||||
check the <guilabel>All terms</guilabel> checkbox to ensure
|
check the <guilabel>All terms</guilabel> checkbox to ensure
|
||||||
that only documents with all the terms will be returned. Use
|
that only documents with all the terms will be returned. Use
|
||||||
the <guilabel>Tools</guilabel> / <guilabel>Advanced
|
the <guilabel>Tools</guilabel> / <guilabel>Advanced
|
||||||
@ -303,6 +324,11 @@
|
|||||||
using the <link linkend="rcl.search.sort"><guilabel>Tools</guilabel>
|
using the <link linkend="rcl.search.sort"><guilabel>Tools</guilabel>
|
||||||
/ <guilabel>Sort parameters</guilabel></link> dialog.</para>
|
/ <guilabel>Sort parameters</guilabel></link> dialog.</para>
|
||||||
|
|
||||||
|
<para>You can click on the first paragraph (<literal>Query
|
||||||
|
results</literal> or <literal>No results found</literal>) in the
|
||||||
|
result list to get an exact display of the query actually
|
||||||
|
performed, after stem expansion and other processing.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="rcl.search.complex">
|
<sect1 id="rcl.search.complex">
|
||||||
@ -310,8 +336,8 @@
|
|||||||
|
|
||||||
<para>The advanced search dialog has fields that will allow a more
|
<para>The advanced search dialog has fields that will allow a more
|
||||||
refined search, looking for documents with all given words, a
|
refined search, looking for documents with all given words, a
|
||||||
given exact phrase, or none of the given words (all fields may
|
given exact phrase, or none of the given words (all relevant fields
|
||||||
be combined by an implicit AND clause).</para>
|
will be combined by an implicit AND clause).</para>
|
||||||
|
|
||||||
<para>It will let you search for documents of specific mime
|
<para>It will let you search for documents of specific mime
|
||||||
types (ie: only <literal>text/plain</literal>, or
|
types (ie: only <literal>text/plain</literal>, or
|
||||||
@ -325,6 +351,9 @@
|
|||||||
the advanced search dialog to start the search. The button in
|
the advanced search dialog to start the search. The button in
|
||||||
the main window always performs a simple search.</para>
|
the main window always performs a simple search.</para>
|
||||||
|
|
||||||
|
<para>Click on the result list header paragraph to see the query
|
||||||
|
expansion.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="rcl.search.history">
|
<sect1 id="rcl.search.history">
|
||||||
@ -380,9 +409,9 @@
|
|||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara><title>Query explanation</title>
|
<formalpara><title>Query explanation</title>
|
||||||
<para>You can get an exact description of what the query
|
<para>You can get an exact description of what the query
|
||||||
looked for, including stem expansion, and boolean operators
|
looked for, including stem expansion, and boolean operators
|
||||||
used, by clicking on the result list header.</para>
|
used, by clicking on the result list header.</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara><title>Quitting</title>
|
<formalpara><title>Quitting</title>
|
||||||
@ -403,17 +432,66 @@
|
|||||||
interface by using <guimenu>Query configuration</guimenu> entry
|
interface by using <guimenu>Query configuration</guimenu> entry
|
||||||
in the <guimenu>Preferences</guimenu> menu.</para>
|
in the <guimenu>Preferences</guimenu> menu.</para>
|
||||||
|
|
||||||
<para>There are two tabs in the dialog, to modify the appearance
|
<para>There are two tabs in the dialog, dealing with the
|
||||||
of the user interface (result list appearance), or the
|
interface itself, and with the parameters used for searching and
|
||||||
parameters used for searching (language used for stem
|
returning results.</para>
|
||||||
expansion).</para>
|
|
||||||
|
|
||||||
<para>The stemming language can be chosen among those that were
|
<para>User interface parameters:</para>
|
||||||
specified in the configuration file, or later added with
|
<itemizedlist>
|
||||||
|
|
||||||
|
<listitem><para><guilabel>Number of results in a result
|
||||||
|
page</guilabel></para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para><guilabel>Result list font</guilabel>: There
|
||||||
|
is quite a lot of information shown in the result list, and
|
||||||
|
you may want to customise the font and/or font size. The rest
|
||||||
|
of the fonts used by &RCL; are determined by your generic QT
|
||||||
|
config (try the <command>qtconfig</command> command.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para><guilabel>Html help browser</guilabel>: this
|
||||||
|
will let you chose your the preferred browser which will be
|
||||||
|
started from the <guimenu>Help</guimenu> menu to read the user
|
||||||
|
manual. You can enter a simple name if the command is in your
|
||||||
|
PATH, or browse for a full pathname.</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem><para><guilabel>Show document type icons in result
|
||||||
|
list</guilabel>: icons in the result list can be turned
|
||||||
|
off. They take quite a lot of space and convey relatively
|
||||||
|
little useful information.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
|
<para>Search parameters:</para>
|
||||||
|
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem><para><guilabel>Stemming language</guilabel>:
|
||||||
|
stemming obviously depends on the document's language. This
|
||||||
|
listbox will let you chose among the stemming databases which
|
||||||
|
were built during indexing (this is set in the <link
|
||||||
|
linkend="rcl.install.config.recollconf">main configuration
|
||||||
|
file</link>), or later added with
|
||||||
<command>recollindex -s</command> (See the recollindex
|
<command>recollindex -s</command> (See the recollindex
|
||||||
manual). Stemming languages which are dynamically added will be
|
manual). Stemming languages which are dynamically added will be
|
||||||
deleted at the next indexation pass unless they are also added in
|
deleted at the next indexation pass unless they are also added in
|
||||||
the configuration file.</para>
|
the configuration file.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para><guilabel>Dynamically build
|
||||||
|
abstracts</guilabel>: this decides if &RCL; tries to build
|
||||||
|
document abstracts when displaying the result list. Abstracts
|
||||||
|
are constructed by taking context from the document
|
||||||
|
information, around the search terms. This can slow down
|
||||||
|
result list display significantly for big documents, and you
|
||||||
|
may want to turn it off.</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem><para><guilabel>Replace abstracts from
|
||||||
|
documents</guilabel>: this decides if we should synthetize and
|
||||||
|
display an abstract in place of an explicit abstract found
|
||||||
|
within the document itself.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
@ -427,96 +505,96 @@
|
|||||||
<title>Building from source</title>
|
<title>Building from source</title>
|
||||||
|
|
||||||
<sect2 id="rcl.install.building.prereqs">
|
<sect2 id="rcl.install.building.prereqs">
|
||||||
<title>Prerequisites</title>
|
<title>Prerequisites</title>
|
||||||
|
|
||||||
<para>At the very least, you will need to download and install the
|
<para>At the very least, you will need to download and install the
|
||||||
<ulink url="http://www.xapian.org">xapian core
|
<ulink url="http://www.xapian.org">xapian core package</ulink>
|
||||||
package</ulink> (&RCL; currently uses version 0.9.2), and the <ulink
|
(&RCL; currently uses version 0.9.2), and the <ulink
|
||||||
url="http://www.trolltech.com/products/qt/index.html">qt
|
url="http://www.trolltech.com/products/qt/index.html">qt
|
||||||
runtime and development packages</ulink> (&RCL; currently uses
|
runtime and development packages</ulink> (&RCL; development
|
||||||
version 3.3.3).</para>
|
currently uses version 3.3.5, but any 3.3 version is
|
||||||
|
probably ok).</para>
|
||||||
|
|
||||||
<para>You will most probably be able to find a binary package for
|
<para>You will most probably be able to find a binary package for
|
||||||
<application>qt</application> for your system. You may have to
|
<application>qt</application> for your system. You may have to
|
||||||
compile <application>Xapian</application>,
|
compile &XAP; but this is not difficult (if you are using
|
||||||
but this is not difficult (if you are using
|
<application>FreeBSD</application>, there is a port).</para>
|
||||||
<application>FreeBSD</application>, there is a port).</para>
|
|
||||||
|
|
||||||
<para>You may also need
|
<para>You may also need
|
||||||
<ulink
|
<ulink
|
||||||
url="http://www.gnu.org/software/libiconv/">libiconv</ulink>. &RCL;
|
url="http://www.gnu.org/software/libiconv/">libiconv</ulink>. &RCL;
|
||||||
currently uses version 1.9 (this should not be critical). On
|
currently uses version 1.9 (this should not be critical). On
|
||||||
<application>Linux</application> systems, the iconv interface
|
<application>Linux</application> systems, the iconv interface
|
||||||
is part of libc and you should not need to do anything
|
is part of libc and you should not need to do anything
|
||||||
special.</para>
|
special.</para>
|
||||||
|
|
||||||
<formalpara><title>External file types</title><para>&RCL; uses
|
<formalpara><title>External file types</title><para>&RCL; uses
|
||||||
external applications
|
external applications
|
||||||
to index some file types. You need to install them for the
|
to index some file types. You need to install them for the
|
||||||
file types that you wish to have indexed:</para>
|
file types that you wish to have indexed:</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem><para>MS Word: <ulink
|
<listitem><para>MS Word: <ulink
|
||||||
url="http://www.winfield.demon.nl">
|
url="http://www.winfield.demon.nl">
|
||||||
antiword</ulink>.</para>
|
antiword</ulink>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>PDF: pdftotext is part of the <ulink
|
<listitem><para>PDF: pdftotext is part of the <ulink
|
||||||
url="http://www.foolabs.com/xpdf/">Xpdf</ulink> package.</para>
|
url="http://www.foolabs.com/xpdf/">Xpdf</ulink> package.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>Postscript: <ulink
|
<listitem><para>Postscript: <ulink
|
||||||
url="http://www.cs.wisc.edu/~ghost/doc/pstotext.htm">
|
url="http://www.cs.wisc.edu/~ghost/doc/pstotext.htm">
|
||||||
pstotext</ulink>.</para>
|
pstotext</ulink>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>RTF: <ulink
|
<para>RTF: <ulink
|
||||||
url="http://www.gnu.org/software/unrtf/unrtf.html">unrtf</ulink>
|
url="http://www.gnu.org/software/unrtf/unrtf.html">unrtf</ulink>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<sect2 id="rcl.install.building.build">
|
<sect2 id="rcl.install.building.build">
|
||||||
<title>Building</title>
|
<title>Building</title>
|
||||||
|
|
||||||
<para>&RCL; has been built on
|
<para>&RCL; has been built on
|
||||||
Linux (redhat7.3, mandriva 2005, Fedora Core 3), FreeBSD and
|
Linux (redhat7.3, mandriva 2005, Fedora Core 3), FreeBSD and
|
||||||
Solaris 8. If you build on another system, <ulink
|
Solaris 8. If you build on another system, <ulink
|
||||||
url="mailto:jean-francois.dockes@wanadoo.fr">I would very much
|
url="mailto:jean-francois.dockes@wanadoo.fr">I would very much
|
||||||
welcome patches</ulink>.</para>
|
welcome patches</ulink>.</para>
|
||||||
|
|
||||||
<para>Depending on the <application>qt</application>
|
<para>Depending on the <application>qt</application>
|
||||||
configuration on your system, you may have to set the
|
configuration on your system, you may have to set the
|
||||||
<literal>QTDIR</literal> and <literal>QMAKESPECS</literal>
|
<literal>QTDIR</literal> and <literal>QMAKESPECS</literal>
|
||||||
variables in your environment:</para>
|
variables in your environment:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><literal>QTDIR</literal> should point to the
|
<listitem><para><literal>QTDIR</literal> should point to the
|
||||||
directory above the one that holds the qt include files (ie:
|
directory above the one that holds the qt include files (ie:
|
||||||
qt.h).</para>
|
qt.h).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para><literal>QMAKESPECS</literal> should
|
<listitem><para><literal>QMAKESPECS</literal> should
|
||||||
be set to the name of one of the
|
be set to the name of one of the
|
||||||
<application>qt</application> mkspecs subdirectories (ie:
|
<application>qt</application> mkspecs subdirectories (ie:
|
||||||
linux-g++).</para>
|
linux-g++).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>On many Linux systems, <literal>QTDIR</literal> is set
|
<para>On many Linux systems, <literal>QTDIR</literal> is set
|
||||||
by the login scripts, and <literal>QMAKESPECS</literal> is not
|
by the login scripts, and <literal>QMAKESPECS</literal> is not
|
||||||
needed because there is a <filename>default</filename> link in
|
needed because there is a <filename>default</filename> link in
|
||||||
<filename>mkspecs/</filename>.</para>
|
<filename>mkspecs/</filename>.</para>
|
||||||
|
|
||||||
<para>The &RCL; <command>configure</command> script does a
|
<para>The &RCL; <command>configure</command> script does a
|
||||||
better job of checking these variables after release
|
better job of checking these variables after release
|
||||||
1.1.1. Before this, unexplained errors will occur during
|
1.1.1. Before this, unexplained errors will occur during
|
||||||
compilation if the environment is not set up. Also, for 1.1.0 the
|
compilation if the environment is not set up. Also, for 1.1.0 the
|
||||||
<command>qmake</command> command should be in your PATH (later
|
<command>qmake</command> command should be in your PATH (later
|
||||||
releases can also find it in
|
releases can also find it in
|
||||||
<filename>$QTDIR/bin</filename>).</para>
|
<filename>$QTDIR/bin</filename>).</para>
|
||||||
|
|
||||||
<para>Normal procedure:</para>
|
<para>Normal procedure:</para>
|
||||||
<screen>
|
<screen>
|
||||||
@ -528,23 +606,23 @@
|
|||||||
|
|
||||||
|
|
||||||
<para>There little autoconfiguration. The
|
<para>There little autoconfiguration. The
|
||||||
<command>configure</command> script will mainly link one of
|
<command>configure</command> script will mainly link one of
|
||||||
the system-specific files in the <filename>mk</filename>
|
the system-specific files in the <filename>mk</filename>
|
||||||
directory to <filename>mk/sysconf</filename>. If your system
|
directory to <filename>mk/sysconf</filename>. If your system
|
||||||
is not known yet, it will tell you as much, and you may want
|
is not known yet, it will tell you as much, and you may want
|
||||||
to manually copy and modify one of the existing files (the new
|
to manually copy and modify one of the existing files (the new
|
||||||
file name should be the output of <command>uname -s</command>).</para>
|
file name should be the output of <command>uname -s</command>).</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="rcl.install.building.install">
|
<sect2 id="rcl.install.building.install">
|
||||||
<title>Installation</title>
|
<title>Installation</title>
|
||||||
|
|
||||||
<para>Either type <userinput>make install</userinput> or execute
|
<para>Either type <userinput>make install</userinput> or execute
|
||||||
<userinput>recollinstall targetdir</userinput>, in the root
|
<userinput>recollinstall targetdir</userinput>, in the root
|
||||||
of the source tree. This will copy the commands to
|
of the source tree. This will copy the commands to
|
||||||
<filename>$targetdir/bin</filename> and the sample
|
<filename>$targetdir/bin</filename> and the sample
|
||||||
configuration files, scripts and other shared data to
|
configuration files, scripts and other shared data to
|
||||||
<filename>$targetdir/share/recoll</filename>.</para>
|
<filename>$targetdir/share/recoll</filename>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
@ -552,32 +630,32 @@
|
|||||||
<title>Installing a prebuilt copy</title>
|
<title>Installing a prebuilt copy</title>
|
||||||
|
|
||||||
<sect2 id="rcl.install.binary.package">
|
<sect2 id="rcl.install.binary.package">
|
||||||
<title>Installing through a package system</title>
|
<title>Installing through a package system</title>
|
||||||
|
|
||||||
<para>If you are lucky enough to be using a port system or a
|
<para>If you are lucky enough to be using a port system or a
|
||||||
prebuilt package (RPM or other), just follow the usual
|
prebuilt package (RPM or other), just follow the usual
|
||||||
procedure, and have a look at the <link
|
procedure, and have a look at the <link
|
||||||
linkend="rcl.install.config">configuration
|
linkend="rcl.install.config">configuration
|
||||||
section</link>.</para>
|
section</link>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="rcl.install.binary.rcl">
|
<sect2 id="rcl.install.binary.rcl">
|
||||||
<title>Installing a prebuilt &RCL;</title>
|
<title>Installing a prebuilt &RCL;</title>
|
||||||
|
|
||||||
<para>The unpackaged binary versions are just compressed tar
|
<para>The unpackaged binary versions are just compressed tar
|
||||||
files of a build
|
files of a build
|
||||||
tree, where only the useful parts were kept (executables and
|
tree, where only the useful parts were kept (executables and
|
||||||
sample configuration).</para>
|
sample configuration).</para>
|
||||||
|
|
||||||
<para>The executable binary files are built with a static link to
|
<para>The executable binary files are built with a static link to
|
||||||
libxapian and libiconv, to make installation easier (no
|
libxapian and libiconv, to make installation easier (no
|
||||||
dependencies). However, this also means that you cannot change
|
dependencies). However, this also means that you cannot change
|
||||||
the versions which are used.</para>
|
the versions which are used.</para>
|
||||||
|
|
||||||
<para>After extracting the tar file, you can proceed with
|
<para>After extracting the tar file, you can proceed with
|
||||||
<link
|
<link
|
||||||
linkend="rcl.install.building.install">installation</link> as
|
linkend="rcl.install.building.install">installation</link> as
|
||||||
if you had built the package from source.</para>
|
if you had built the package from source.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
@ -586,36 +664,36 @@
|
|||||||
|
|
||||||
<para>The personal configuration files and the database are
|
<para>The personal configuration files and the database are
|
||||||
normally kept in
|
normally kept in
|
||||||
the <filename>.recoll</filename> directory in your home (this
|
the <filename>.recoll</filename> directory in your home (this
|
||||||
can be changed with the <literal>RECOLL_CONFDIR</literal>
|
can be changed with the <literal>RECOLL_CONFDIR</literal>
|
||||||
environment variable, and a parameter inside the main
|
environment variable, and a parameter inside the main
|
||||||
configuration file). If this directory does not exist when
|
configuration file). If this directory does not exist when
|
||||||
<command>recoll</command> or
|
<command>recoll</command> or
|
||||||
<command>recollindex</command> are started, the
|
<command>recollindex</command> are started, the
|
||||||
directory will be created and the sample configuration files will
|
directory will be created and the sample configuration files will
|
||||||
be copied. <command>recoll</command> will give you a
|
be copied. <command>recoll</command> will give you a
|
||||||
chance to edit the configuration file before starting
|
chance to edit the configuration file before starting
|
||||||
indexation. <command>recollindex</command> will
|
indexation. <command>recollindex</command> will
|
||||||
proceed immediately.</para>
|
proceed immediately.</para>
|
||||||
|
|
||||||
<para>Most of the parameters specific to the
|
<para>Most of the parameters specific to the
|
||||||
<command>recoll</command> GUI are set through the
|
<command>recoll</command> GUI are set through the
|
||||||
<guilabel>Preferences</guilabel> menu and stored in the
|
<guilabel>Preferences</guilabel> menu and stored in the
|
||||||
standard QT place
|
standard QT place
|
||||||
(<filename>$HOME/.qt/recollrc</filename>). You probably do not
|
(<filename>$HOME/.qt/recollrc</filename>). You probably do not
|
||||||
want to edit this by hand.</para>
|
want to edit this by hand.</para>
|
||||||
|
|
||||||
<para>For other options, &RCL; uses text configuration
|
<para>For other options, &RCL; uses text configuration
|
||||||
files. You will have to edit them by hand for
|
files. You will have to edit them by hand for
|
||||||
now (there is still some hope for a GUI configuration tool
|
now (there is still some hope for a GUI configuration tool
|
||||||
in the future). The most accurate documentation for the
|
in the future). The most accurate documentation for the
|
||||||
configuration parameters is given by comments inside the sample
|
configuration parameters is given by comments inside the sample
|
||||||
files, and we will just give a general overview here.</para>
|
files, and we will just give a general overview here.</para>
|
||||||
|
|
||||||
<para>All configuration files share the same format. For
|
<para>All configuration files share the same format. For
|
||||||
exemple, a short extract of the main configuration file might
|
exemple, a short extract of the main configuration file might
|
||||||
look as follows:</para>
|
look as follows:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
# Space-separated list of directories to index.
|
# Space-separated list of directories to index.
|
||||||
topdirs = ~/docs /usr/share/doc
|
topdirs = ~/docs /usr/share/doc
|
||||||
|
|
||||||
@ -623,215 +701,215 @@
|
|||||||
defaultcharset = utf-8
|
defaultcharset = utf-8
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para>There are three kinds of lines: </para>
|
<para>There are three kinds of lines: </para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>Comment (starts with
|
<listitem><para>Comment (starts with
|
||||||
<emphasis>#</emphasis>) or empty.</para>
|
<emphasis>#</emphasis>) or empty.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para>Parameter affectation (<emphasis>name =
|
<listitem><para>Parameter affectation (<emphasis>name =
|
||||||
value</emphasis>).</para>
|
value</emphasis>).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para>Section definition
|
<listitem><para>Section definition
|
||||||
([<emphasis>somedirname</emphasis>]).</para>
|
([<emphasis>somedirname</emphasis>]).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>Section lines allow redefining some parameters for a
|
<para>Section lines allow redefining some parameters for a
|
||||||
directory subtree. Some of the parameters used for indexation
|
directory subtree. Some of the parameters used for indexation
|
||||||
are looked up hierarchically from the more to the less
|
are looked up hierarchically from the more to the less
|
||||||
specific. Not all parameters can be meaningfully redefined,
|
specific. Not all parameters can be meaningfully redefined,
|
||||||
this is specified for each in the next section. </para>
|
this is specified for each in the next section. </para>
|
||||||
|
|
||||||
<para>The tilde character (~) is expanded in file names to the
|
<para>The tilde character (~) is expanded in file names to the
|
||||||
name of the user's home directory.</para>
|
name of the user's home directory.</para>
|
||||||
|
|
||||||
<para>White space is used for separation inside lists.
|
<para>White space is used for separation inside lists.
|
||||||
Elements with embedded spaces can be quoted using
|
Elements with embedded spaces can be quoted using
|
||||||
double-quotes.</para>
|
double-quotes.</para>
|
||||||
|
|
||||||
<sect2 id="rcl.install.config.recollconf">
|
<sect2 id="rcl.install.config.recollconf">
|
||||||
<title>Main configuration file</title>
|
<title>Main configuration file</title>
|
||||||
|
|
||||||
<para><filename>~/.recoll/recoll.conf</filename> is the main
|
<para><filename>~/.recoll/recoll.conf</filename> is the main
|
||||||
configuration file. It defines things like
|
configuration file. It defines things like
|
||||||
what to index (top directories and things to ignore), and the
|
what to index (top directories and things to ignore), and the
|
||||||
default character set to use for document types which do not
|
default character set to use for document types which do not
|
||||||
specify it internally. </para>
|
specify it internally. </para>
|
||||||
|
|
||||||
<para>The default configuration will index your home
|
<para>The default configuration will index your home
|
||||||
directory. If this is not appropriate, use
|
directory. If this is not appropriate, use
|
||||||
<command>recoll</command> to copy the sample
|
<command>recoll</command> to copy the sample
|
||||||
configuration, click <guimenu>Cancel</guimenu>, and edit
|
configuration, click <guimenu>Cancel</guimenu>, and edit
|
||||||
the configuration file before restarting the command. This
|
the configuration file before restarting the command. This
|
||||||
will start the initial indexation, which may take some time.</para>
|
will start the initial indexation, which may take some time.</para>
|
||||||
|
|
||||||
<para>Paramers:</para>
|
<para>Paramers:</para>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
|
||||||
<varlistentry><term><literal>topdirs</literal></term>
|
<varlistentry><term><literal>topdirs</literal></term>
|
||||||
<listitem><para>Specifies the list of directories to index
|
<listitem><para>Specifies the list of directories to index
|
||||||
(recursively).</para>
|
(recursively).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>skippedNames</literal></term>
|
<varlistentry><term><literal>skippedNames</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>A space-separated list of patterns for
|
<para>A space-separated list of patterns for
|
||||||
names of files or directories that should be completely
|
names of files or directories that should be completely
|
||||||
ignored. The list defined in the default file is: </para>
|
ignored. The list defined in the default file is: </para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
*~ #* bin CVS Cache caughtspam tmp
|
*~ #* bin CVS Cache caughtspam tmp
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para>The list can be redefined for subdirectories, but is only
|
<para>The list can be redefined for subdirectories, but is only
|
||||||
actually changed for the top level ones in
|
actually changed for the top level ones in
|
||||||
<literal>topdirs</literal>.</para>
|
<literal>topdirs</literal>.</para>
|
||||||
<para>The top-level directories are not affected by this
|
<para>The top-level directories are not affected by this
|
||||||
list (that is, a directory in <literal>topdirs</literal>
|
list (that is, a directory in <literal>topdirs</literal>
|
||||||
might match and would still be indexed).</para>
|
might match and would still be indexed).</para>
|
||||||
<para>The list in the default configuration does not
|
<para>The list in the default configuration does not
|
||||||
exclude hidden directories (names beginning with a
|
exclude hidden directories (names beginning with a
|
||||||
dot), which means that it may index quite a few things
|
dot), which means that it may index quite a few things
|
||||||
that you do not want. On the other hand, mail user
|
that you do not want. On the other hand, mail user
|
||||||
agents like <application>thunderbird</application>
|
agents like <application>thunderbird</application>
|
||||||
usually store messages in hidden directories, and you
|
usually store messages in hidden directories, and you
|
||||||
probably want this indexed. One possible solution is to
|
probably want this indexed. One possible solution is to
|
||||||
have <userinput>.*</userinput> in
|
have <userinput>.*</userinput> in
|
||||||
<literal>skippedNames</literal>, and add things like
|
<literal>skippedNames</literal>, and add things like
|
||||||
<filename>~/.thunderbird</filename> or
|
<filename>~/.thunderbird</filename> or
|
||||||
<filename>~/.evolution</filename> in
|
<filename>~/.evolution</filename> in
|
||||||
<literal>topdirs</literal>.</para>
|
<literal>topdirs</literal>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>loglevel</literal></term>
|
<varlistentry><term><literal>loglevel</literal></term>
|
||||||
<listitem><para>Verbosity level for recoll and
|
<listitem><para>Verbosity level for recoll and
|
||||||
recollindex. A value of 4 lists quite a lot of
|
recollindex. A value of 4 lists quite a lot of
|
||||||
debug/information messages. 2 only lists errors. </para>
|
debug/information messages. 2 only lists errors. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>logfilename</literal></term>
|
<varlistentry><term><literal>logfilename</literal></term>
|
||||||
<listitem><para>Where should the messages go. 'stderr' can
|
<listitem><para>Where should the messages go. 'stderr' can
|
||||||
be used as a special value. </para>
|
be used as a special value. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>filtersdir</literal></term>
|
<varlistentry><term><literal>filtersdir</literal></term>
|
||||||
<listitem><para>A directory to search for the external
|
<listitem><para>A directory to search for the external
|
||||||
filter scripts used to index some types of files. The
|
filter scripts used to index some types of files. The
|
||||||
value should not be changed, except if you want to modify
|
value should not be changed, except if you want to modify
|
||||||
one of the default scripts. The value can be redefined for
|
one of the default scripts. The value can be redefined for
|
||||||
any subdirectory. </para>
|
any subdirectory. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>indexstemminglanguages</literal></term>
|
<varlistentry><term><literal>indexstemminglanguages</literal></term>
|
||||||
<listitem><para>A list of languages for which the stem
|
<listitem><para>A list of languages for which the stem
|
||||||
expansion databases will be built. See recollindex(1) for
|
expansion databases will be built. See recollindex(1) for
|
||||||
possible values. You can add a stem expansion database for
|
possible values. You can add a stem expansion database for
|
||||||
a different language by using <command>recollindex
|
a different language by using <command>recollindex
|
||||||
-s</command>, but it will be deleted during the next
|
-s</command>, but it will be deleted during the next
|
||||||
indexation. Only languages listed in the configuration
|
indexation. Only languages listed in the configuration
|
||||||
file are permanent.</para>
|
file are permanent.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>iconsdir</literal></term>
|
<varlistentry><term><literal>iconsdir</literal></term>
|
||||||
<listitem><para>The name of the directory where
|
<listitem><para>The name of the directory where
|
||||||
<command>recoll</command> result list icons are
|
<command>recoll</command> result list icons are
|
||||||
stored. You can change this if you want different
|
stored. You can change this if you want different
|
||||||
images.</para>
|
images.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>dbdir</literal></term>
|
<varlistentry><term><literal>dbdir</literal></term>
|
||||||
<listitem><para>The name of the Xapian database
|
<listitem><para>The name of the Xapian database
|
||||||
directory. It will be created if needed when the database
|
directory. It will be created if needed when the database
|
||||||
is initialized. </para>
|
is initialized. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>defaultcharset</literal></term>
|
<varlistentry><term><literal>defaultcharset</literal></term>
|
||||||
<listitem><para>The name of the character set used for
|
<listitem><para>The name of the character set used for
|
||||||
files that do not contain a character set definition (ie:
|
files that do not contain a character set definition (ie:
|
||||||
plain text files). This can be redefined for any
|
plain text files). This can be redefined for any
|
||||||
subdirectory.</para>
|
subdirectory.</para>
|
||||||
|
|
||||||
<varlistentry><term><literal>guesscharset</literal></term>
|
<varlistentry><term><literal>guesscharset</literal></term>
|
||||||
<listitem><para>Decide if we try to guess the character
|
<listitem><para>Decide if we try to guess the character
|
||||||
set of files if no internal value is available (ie: for
|
set of files if no internal value is available (ie: for
|
||||||
plain text files). This does not work well in general, and
|
plain text files). This does not work well in general, and
|
||||||
should probably not be used. </para>
|
should probably not be used. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><literal>usesystemfilecommand</literal></term>
|
<varlistentry><term><literal>usesystemfilecommand</literal></term>
|
||||||
<listitem><para>Decide if we use the <command>file -i</command>
|
<listitem><para>Decide if we use the <command>file -i</command>
|
||||||
system command as a final step for determining the mime
|
system command as a final step for determining the mime
|
||||||
type for a file (the main procedure uses suffix
|
type for a file (the main procedure uses suffix
|
||||||
associations as defined in the <filename>mimemap</filename>
|
associations as defined in the <filename>mimemap</filename>
|
||||||
file). This can be useful for files with suffixless names,
|
file). This can be useful for files with suffixless names,
|
||||||
but it will also cause the indexation of many bogus "text"
|
but it will also cause the indexation of many bogus "text"
|
||||||
files.</para>
|
files.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="rclinstall.config.mimemap">
|
<sect2 id="rclinstall.config.mimemap">
|
||||||
<title>The mimemap file</title>
|
<title>The mimemap file</title>
|
||||||
|
|
||||||
<para><filename>~/.recoll/mimemap</filename> specifies the
|
<para><filename>~/.recoll/mimemap</filename> specifies the
|
||||||
file name extension to mime type mappings.</para> <para>For
|
file name extension to mime type mappings.</para> <para>For
|
||||||
file names without an extension, or with an unknown one, the
|
file names without an extension, or with an unknown one, the
|
||||||
system's <command>file -i</command> command will be executed
|
system's <command>file -i</command> command will be executed
|
||||||
to determine the mime type (this can be switched off inside
|
to determine the mime type (this can be switched off inside
|
||||||
the main configuration file).</para>
|
the main configuration file).</para>
|
||||||
|
|
||||||
<para><filename>mimemap</filename> also has a list of
|
<para><filename>mimemap</filename> also has a list of
|
||||||
extensions which should be ignored totally (to avoid losing
|
extensions which should be ignored totally (to avoid losing
|
||||||
time by executing <command>file</command>
|
time by executing <command>file</command>
|
||||||
for things that certainly should not be indexed).</para>
|
for things that certainly should not be indexed).</para>
|
||||||
|
|
||||||
<para>The mappings can be specified on a per-subtree basis,
|
<para>The mappings can be specified on a per-subtree basis,
|
||||||
which may be useful in some cases. Example:
|
which may be useful in some cases. Example:
|
||||||
<application>gaim</application> logs have a
|
<application>gaim</application> logs have a
|
||||||
<filename>.txt</filename> extension but
|
<filename>.txt</filename> extension but
|
||||||
should be handled specially, which is possible because they
|
should be handled specially, which is possible because they
|
||||||
are usually all located in one place.</para>
|
are usually all located in one place.</para>
|
||||||
|
|
||||||
<para><filename>mimemap</filename> also has a
|
<para><filename>mimemap</filename> also has a
|
||||||
<literal>recoll_noindex</literal> variable which is a list of
|
<literal>recoll_noindex</literal> variable which is a list of
|
||||||
suffixes. Matching files will be skipped (avoids unnecessary
|
suffixes. Matching files will be skipped (avoids unnecessary
|
||||||
decompressions or <command>file</command> executions). This is
|
decompressions or <command>file</command> executions). This is
|
||||||
partially redundant with <literal>skippedNames</literal> in
|
partially redundant with <literal>skippedNames</literal> in
|
||||||
the main configuration file, with two differences: it will not
|
the main configuration file, with two differences: it will not
|
||||||
affect directories, and it can be changed for any
|
affect directories, and it can be changed for any
|
||||||
subdirectory.</para>
|
subdirectory.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="rclinstall.config.mimeconf">
|
<sect2 id="rclinstall.config.mimeconf">
|
||||||
<title>The mimeconf file</title>
|
<title>The mimeconf file</title>
|
||||||
|
|
||||||
<para><filename>~/.recoll/mimeconf</filename> specifies how the
|
<para><filename>~/.recoll/mimeconf</filename> specifies how the
|
||||||
different mime types are handled for indexation, and for
|
different mime types are handled for indexation, and for
|
||||||
display.</para>
|
display.</para>
|
||||||
|
|
||||||
<para>Changing the indexation parameters is probably not a
|
<para>Changing the indexation parameters is probably not a
|
||||||
good idea except if you are a &RCL; developper.</para>
|
good idea except if you are a &RCL; developper.</para>
|
||||||
|
|
||||||
<para>You may want to adjust the external viewers defined in
|
<para>You may want to adjust the external viewers defined in
|
||||||
(ie: html is either
|
(ie: html is either
|
||||||
previewed internally or displayed using
|
previewed internally or displayed using
|
||||||
<application>firefox</application>, but you may prefer
|
<application>firefox</application>, but you may prefer
|
||||||
<application>mozilla</application>...). Look for the
|
<application>mozilla</application>...). Look for the
|
||||||
<literal>[view]</literal> section.</para>
|
<literal>[view]</literal> section.</para>
|
||||||
|
|
||||||
<para>You can also change the icons which are displayed by
|
<para>You can also change the icons which are displayed by
|
||||||
<command>recoll</command> in the result lists (the values are
|
<command>recoll</command> in the result lists (the values are
|
||||||
the basenames of the png images inside the
|
the basenames of the png images inside the
|
||||||
<filename>iconsdir</filename> directory (specified in
|
<filename>iconsdir</filename> directory (specified in
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
.obj
|
.obj
|
||||||
.ui
|
.ui
|
||||||
CVS
|
CVS
|
||||||
|
Makefile
|
||||||
TAGS
|
TAGS
|
||||||
alldeps
|
alldeps
|
||||||
autom4*
|
autom4*
|
||||||
@ -20,6 +21,7 @@ lib/librcl.a
|
|||||||
makesrcdist.sh
|
makesrcdist.sh
|
||||||
mk/localdefs
|
mk/localdefs
|
||||||
qtgui/Makefile
|
qtgui/Makefile
|
||||||
|
qtgui/recoll.pro
|
||||||
qtgui/preview/Makefile
|
qtgui/preview/Makefile
|
||||||
qtgui/preview/preview.pro
|
qtgui/preview/preview.pro
|
||||||
qtgui/preview/pvmain.cpp
|
qtgui/preview/pvmain.cpp
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# @(#$Id: makesrcdist.sh,v 1.8 2006-01-21 15:36:05 dockes Exp $ (C) 2005 J.F.Dockes
|
# @(#$Id: makesrcdist.sh,v 1.9 2006-02-01 07:12:14 dockes Exp $ (C) 2005 J.F.Dockes
|
||||||
# A shell-script to make a recoll source distribution
|
# A shell-script to make a recoll source distribution
|
||||||
|
|
||||||
#set -x
|
#set -x
|
||||||
@ -66,8 +66,9 @@ sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
|||||||
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
||||||
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
||||||
|
|
||||||
|
# We tag .. as there is the 'packaging/' directory in there
|
||||||
CVSTAG="RECOLL-$versionforcvs"
|
CVSTAG="RECOLL-$versionforcvs"
|
||||||
[ $dotag = "yes" ] && cvs tag -F $CVSTAG .
|
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
||||||
|
|
||||||
out=recoll-$version.tar.gz
|
out=recoll-$version.tar.gz
|
||||||
(cd $targetdir ; \
|
(cd $targetdir ; \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user