|
a/src/doc/user/usermanual.sgml |
|
b/src/doc/user/usermanual.sgml |
|
... |
|
... |
3782 |
interface, both for searching and indexing. The indexing
|
3782 |
interface, both for searching and indexing. The indexing
|
3783 |
portion has seen little use, but the searching one is used
|
3783 |
portion has seen little use, but the searching one is used
|
3784 |
in the Recoll Ubuntu Unity Lens and Recoll Web UI.</para>
|
3784 |
in the Recoll Ubuntu Unity Lens and Recoll Web UI.</para>
|
3785 |
|
3785 |
|
3786 |
<para>The API is inspired by the Python database API
|
3786 |
<para>The API is inspired by the Python database API
|
|
|
3787 |
specification. There were two major changes in recent &RCL;
|
|
|
3788 |
versions:
|
|
|
3789 |
<itemizedlist>
|
|
|
3790 |
<listitem>The basis for the &RCL; API changed from Python
|
3787 |
specification, version 1.0 for &RCL; versions up to 1.18,
|
3791 |
database API version 1.0 (&RCL; versions up to 1.18.1),
|
3788 |
version 2.0 for &RCL; versions 1.19 and later. The package
|
3792 |
to version 2.0 (&RCL; 1.18.2 and later).</listitem>
|
3789 |
structure changed with &RCL; 1.19 too. We will mostly
|
3793 |
<listitem>The <literal>recoll</literal> module became a
|
3790 |
describe the new API and package structure here. A paragraph
|
3794 |
package (with an internal <literal>recoll</literal>
|
3791 |
at the end of this section will explain a few differences
|
3795 |
module) as of &RCL; version 1.19, in order to add more
|
|
|
3796 |
functions. For existing code, this only changes the way
|
|
|
3797 |
the interface must be imported.</listitem>
|
|
|
3798 |
</itemizedlist>
|
|
|
3799 |
</para>
|
|
|
3800 |
|
|
|
3801 |
<para>We will mostly describe the new API and package
|
|
|
3802 |
structure here. A paragraph at the end of this section will
|
|
|
3803 |
explain a few differences and ways to write code
|
3792 |
and ways to write code compatible with both versions.</para>
|
3804 |
compatible with both versions.</para>
|
3793 |
|
3805 |
|
3794 |
<para>The Python interface can be found in the source package,
|
3806 |
<para>The Python interface can be found in the source package,
|
3795 |
under <filename>python/recoll</filename>.</para>
|
3807 |
under <filename>python/recoll</filename>.</para>
|
3796 |
|
3808 |
|
3797 |
<para>The <filename>python/recoll/</filename> directory
|
3809 |
<para>The <filename>python/recoll/</filename> directory
|