doc
This commit is contained in:
parent
22d21f1685
commit
defe1e780d
3 changed files with 145 additions and 45 deletions
|
@ -21,6 +21,8 @@ src/desktop/unity-lens-recoll/data/recoll.lens
|
||||||
src/desktop/unity-lens-recoll/data/unity-lens-recoll.service
|
src/desktop/unity-lens-recoll/data/unity-lens-recoll.service
|
||||||
src/doc/user/HTML.manifest
|
src/doc/user/HTML.manifest
|
||||||
src/doc/user/RCL.INDEXING.CONFIG.html
|
src/doc/user/RCL.INDEXING.CONFIG.html
|
||||||
|
src/doc/user/RCL.INDEXING.EXTATTR.html
|
||||||
|
src/doc/user/RCL.INDEXING.EXTTAGS.html
|
||||||
src/doc/user/RCL.INDEXING.MONITOR.html
|
src/doc/user/RCL.INDEXING.MONITOR.html
|
||||||
src/doc/user/RCL.INDEXING.PERIODIC.html
|
src/doc/user/RCL.INDEXING.PERIODIC.html
|
||||||
src/doc/user/RCL.INDEXING.STORAGE.html
|
src/doc/user/RCL.INDEXING.STORAGE.html
|
||||||
|
|
|
@ -690,7 +690,7 @@ recoll
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="RCL.INDEXING.WEBQUEUE">
|
<sect1 id="RCL.INDEXING.WEBQUEUE">
|
||||||
<title>Index WEB visited page history</title>
|
<title>Indexing WEB pages you wisit</title>
|
||||||
|
|
||||||
<para>With the help of a <application>Firefox</application>
|
<para>With the help of a <application>Firefox</application>
|
||||||
extension, &RCL; can index the Internet pages that you visit. The
|
extension, &RCL; can index the Internet pages that you visit. The
|
||||||
|
@ -723,6 +723,58 @@ recoll
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="RCL.INDEXING.EXTATTR">
|
||||||
|
<title>Extended attributes data</title>
|
||||||
|
|
||||||
|
<para>User extended attributes are named pieces of information
|
||||||
|
that most modern file systems can attach to any file.</para>
|
||||||
|
|
||||||
|
<para>&RCL; versions 1.19 and later process extended attributes
|
||||||
|
as document fields by default. For older versions, this has to
|
||||||
|
be activated at build time.</para>
|
||||||
|
|
||||||
|
<para>A
|
||||||
|
<ulink url="http://www.freedesktop.org/wiki/CommonExtendedAttributes">
|
||||||
|
freedesktop standard</ulink> defines a few special
|
||||||
|
attributes, which are handled as such by &RCL;:
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>mime_type</term>
|
||||||
|
<listitem><para>If set, this overrides any other
|
||||||
|
determination of the file mime type.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>charset</term>
|
||||||
|
<listitem>If set, this defines the file character set
|
||||||
|
(mostly useful for plain text files).</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>By default, other attributes are handled as &RCL; fields.
|
||||||
|
On Linux, the <literal>user</literal> prefix is removed from
|
||||||
|
the name. This can be configured more precisely inside
|
||||||
|
the <link linkend="RCL.INSTALL.CONFIG.FIELDS">
|
||||||
|
<filename>fields</filename> configuration file</link>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="RCL.INDEXING.EXTTAGS">
|
||||||
|
<title>Importing external tags</title>
|
||||||
|
|
||||||
|
<para>During indexing, it is possible to import metadata for
|
||||||
|
each file by executing commands. For example, this could
|
||||||
|
extract user tag data for the file and store it in a field for
|
||||||
|
indexing.</para>
|
||||||
|
|
||||||
|
<para>See the
|
||||||
|
<link linkend="RCL.INSTALL.CONFIG.RECOLLCONF.METADATACMDS">section
|
||||||
|
about the <literal>metadatacmds</literal> field</link> in
|
||||||
|
the main configuration chapter for more detail.</para>
|
||||||
|
|
||||||
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="RCL.INDEXING.PERIODIC">
|
<sect1 id="RCL.INDEXING.PERIODIC">
|
||||||
<title>Periodic indexing</title>
|
<title>Periodic indexing</title>
|
||||||
|
|
||||||
|
@ -2301,21 +2353,20 @@ fvwm
|
||||||
where <replaceable>docnum</replaceable> (%N) expands to the document
|
where <replaceable>docnum</replaceable> (%N) expands to the document
|
||||||
number inside the result page).</para>
|
number inside the result page).</para>
|
||||||
|
|
||||||
<para>In addition to the predefined values above, all strings like
|
<para>In addition to the predefined values above, all strings
|
||||||
<literal>%(fieldname)</literal> will be replaced by the value of
|
like <literal>%(fieldname)</literal> will be replaced by the
|
||||||
the field named <literal>fieldname</literal> for this
|
value of the field named <literal>fieldname</literal> for this
|
||||||
document. Only stored fields can be accessed in this way, the value
|
document. Only stored fields can be accessed in this way, the
|
||||||
of indexed but not stored fields is not known at this point in the
|
value of indexed but not stored fields is not known at this
|
||||||
search process (see <link linkend="RCL.PROGRAM.FIELDS">field
|
point in the search process
|
||||||
configuration</link>). There are currently very few fields stored
|
(see <link linkend="RCL.PROGRAM.FIELDS">field
|
||||||
by default, apart from the values above (only
|
configuration</link>). There are currently very few fields
|
||||||
<literal>author</literal> and <literal>filename</literal>), so this
|
stored by default, apart from the values above
|
||||||
feature will need some custom local configuration to be useful. For
|
(only <literal>author</literal>
|
||||||
example, you could look at the fields for the document types of
|
and <literal>filename</literal>), so this feature will need
|
||||||
interest (use the right-click menu inside the preview window), and
|
some custom local configuration to be useful. An example
|
||||||
add what you want to the list of stored fields. A candidate example
|
candidate would be the <literal>recipient</literal> field
|
||||||
would be the <literal>recipient</literal> field which is generated
|
which is generated by the message filters.</para>
|
||||||
by the message filters.</para>
|
|
||||||
|
|
||||||
<para>The default value for the paragraph format string is:
|
<para>The default value for the paragraph format string is:
|
||||||
<screen><![CDATA[
|
<screen><![CDATA[
|
||||||
|
@ -3338,6 +3389,16 @@ application/x-chm = execm rclchm
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<meta name="somefield" content="Some textual data" />
|
<meta name="somefield" content="Some textual data" />
|
||||||
|
</programlisting>
|
||||||
|
|
||||||
|
<para>You can embed HTML markup inside the content of custom
|
||||||
|
fields, for improving the display inside result lists. In this
|
||||||
|
case, add a (wildly non-standard) <literal>markup</literal>
|
||||||
|
attribute to tell &RCL; that the value is HTML and should not
|
||||||
|
be escaped for display.</para>
|
||||||
|
|
||||||
|
<programlisting>
|
||||||
|
<meta name="somefield" markup="html" content="Some <i>textual</i> data" />
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para> See the following section for details about configuring
|
<para> See the following section for details about configuring
|
||||||
|
@ -3366,10 +3427,11 @@ application/x-chm = execm rclchm
|
||||||
<literal>author</literal>, <literal>abstract</literal>.</para>
|
<literal>author</literal>, <literal>abstract</literal>.</para>
|
||||||
|
|
||||||
<para>The field values for documents can appear in several ways
|
<para>The field values for documents can appear in several ways
|
||||||
during indexing: either output by filters as
|
during indexing: either output by filters
|
||||||
<literal>meta</literal> fields in the HTML header section, or
|
as <literal>meta</literal> fields in the HTML header section, or
|
||||||
added as attributes of the <literal>Doc</literal> object when
|
extracted from file extended attributes, or added as attributes
|
||||||
using the API, or again synthetized internally by &RCL;.</para>
|
of the <literal>Doc</literal> object when using the API, or
|
||||||
|
again synthetized internally by &RCL;.</para>
|
||||||
|
|
||||||
<para>The &RCL; query language allows searching for text in a
|
<para>The &RCL; query language allows searching for text in a
|
||||||
specific field.</para>
|
specific field.</para>
|
||||||
|
@ -4661,7 +4723,25 @@ unac_except_trans =
|
||||||
<filename>mimeview</filename>.</para>
|
<filename>mimeview</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry id="RCL.INSTALL.CONFIG.RECOLLCONF.METADATACMDS">
|
||||||
|
<term><varname>metadatacmds</varname></term>
|
||||||
|
<listitem><para>This allows executing external commands
|
||||||
|
for each file and storing the output in a &RCL;
|
||||||
|
field. This could be used for example to index external
|
||||||
|
tag data. The value is a list of field names and commands,
|
||||||
|
don't forget an initial semi-colon. Example:
|
||||||
|
<programlisting>
|
||||||
|
[/some/area/of/the/fs]
|
||||||
|
metadatacmds = ; tags = tmsu tags %f; otherfield = somecmd -xx %f
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="RCL.INSTALL.CONFIG.RECOLLCONF.STORAGE">
|
<sect3 id="RCL.INSTALL.CONFIG.RECOLLCONF.STORAGE">
|
||||||
|
@ -4976,6 +5056,24 @@ x-my-tag = mailmytag
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
<sect3 id="RCL.INSTALL.CONFIG.FIELDS.XATTR">
|
||||||
|
<title>Extended attributes in the fields file</title>
|
||||||
|
|
||||||
|
<para>&RCL; versions 1.19 and later process user extended
|
||||||
|
file attributes as documents fields by default.</para>
|
||||||
|
|
||||||
|
<para>Attributes are processed as fields of the same name,
|
||||||
|
after removing the <literal>user</literal> prefix on
|
||||||
|
Linux.</para>
|
||||||
|
|
||||||
|
<para>The <literal>[xattrtofields]</literal>
|
||||||
|
section of the <filename>fields</filename> file allows
|
||||||
|
specifying translations from extended attributes names to
|
||||||
|
&RCL; field names. An empty translation disables use of the
|
||||||
|
corresponding attribute data.</para>
|
||||||
|
|
||||||
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="RCL.INSTALL.CONFIG.MIMEMAP">
|
<sect2 id="RCL.INSTALL.CONFIG.MIMEMAP">
|
||||||
|
|
|
@ -57,34 +57,34 @@
|
||||||
case-insensitive search does not work for them (e.g.:
|
case-insensitive search does not work for them (e.g.:
|
||||||
searching for ds1820 will not find DS1820).</li>
|
searching for ds1820 will not find DS1820).</li>
|
||||||
|
|
||||||
<li>On systems such as Debian Stable which use Evince version
|
<li>On systems such as Debian Stable which use Evince version
|
||||||
2.x (not 3.x) as PDF viewer, the default "Open" command for
|
2.x (not 3.x) as PDF viewer, the default "Open" command for
|
||||||
PDF files will not work. You need to edit the command:
|
PDF files will not work. You need to edit the command:
|
||||||
in <em>Preferences->GUI configuration</em>,
|
in <em>Preferences->GUI configuration</em>,
|
||||||
uncheck <em>Use desktop preferences...</em>, then
|
uncheck <em>Use desktop preferences...</em>, then
|
||||||
click <em>Choose editor applications</em>, and for
|
click <em>Choose editor applications</em>, and for
|
||||||
application/pdf, application/postscript and text/dvi, change
|
application/pdf, application/postscript and text/dvi, change
|
||||||
the --page-index option to --page-label.</li>
|
the --page-index option to --page-label.</li>
|
||||||
|
|
||||||
<li>It will sometimes happen that the result list paragraph
|
<li>It will sometimes happen that the result list paragraph
|
||||||
format stored in the Qt preferences file will get garbled,
|
format stored in the Qt preferences file will get garbled,
|
||||||
causing result lists with no displayed paragraphs (the
|
causing result lists with no displayed paragraphs (the
|
||||||
counts and pages are ok, the results can be seen in table
|
counts and pages are ok, the results can be seen in table
|
||||||
mode, but not in list mode). The workaround is to go to
|
mode, but not in list mode). The workaround is to go to
|
||||||
<blockquote>
|
<blockquote>
|
||||||
Preferences->Query configuration->User interface
|
Preferences->Query configuration->User interface
|
||||||
</blockquote> and erase the result paragraph format string
|
</blockquote> and erase the result paragraph format string
|
||||||
(^A DEL in the text area), this will reset the string to the
|
(^A DEL in the text area), this will reset the string to the
|
||||||
default value.</li>
|
default value.</li>
|
||||||
|
|
||||||
<li>Real time indexer: when running with gamin on FreeBSD, the
|
<li>Real time indexer: when running with gamin on FreeBSD, the
|
||||||
indexer can deadlock in the gamin dialog in some
|
indexer can deadlock in the gamin dialog in some
|
||||||
cases.</li>
|
cases.</li>
|
||||||
|
|
||||||
<li>After an upgrade, the recoll GUI sometimes crashes on
|
<li>After an upgrade, the recoll GUI sometimes crashes on
|
||||||
startup. This is fixed by removing (back it up just in case)
|
startup. This is fixed by removing (back it up just in case)
|
||||||
~/.config/Recoll.org/recoll.conf, the QSettings storage for
|
~/.config/Recoll.org/recoll.conf, the QSettings storage for
|
||||||
recoll.</li>
|
recoll.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue