comments and doc

This commit is contained in:
Jean-Francois Dockes
2011-05-07 09:32:42 +02:00
parent 4113397f49
commit 297ff2d225
5 changed files with 64 additions and 46 deletions
+17 -9
View File
@@ -479,24 +479,32 @@ recoll
<sect1 id="rcl.indexing.beaglequeue">
<title>Using Beagle WEB browser plugins</title>
<para><application>Beagle</application> is a concurrent desktop
<para><application>Beagle</application> is (was?) a concurrent desktop
indexer, built on Lucene and the Mono project (C#), for which a
number of add-on browser plugins were written. These work by
copying visited web pages to an indexing queue directory, which the
indexer then processes.</para>
indexer then processes. Especially, there is a
<application>Firefox</application> extension.</para>
<para>If, for any reason, you so happen to prefer &RCL; to
<application>Beagle</application>, you can still use
the browser plugins (they are written in Javascript and completely
independant of C#, Beagle, Lucene...). &RCL; can process the
<application>Beagle</application> queue directory. Of course, this
supposes that <application>Beagle</application> is not running,
else both programs will fight for the same files.</para>
<application>Beagle</application>, you can still use the
<application>Firefox</application> plugin, which is written in
Javascript and completely independant of C#, Beagle, Lucene..., and
set &RCL; to process the <application>Beagle</application> queue
directory. This supposes that <application>Beagle</application> is
not running, else both programs will fight for the same
files.</para>
<para>This feature can be enabled in the GUI indexing configuration
panel, or by editing the configuration file (set
<literal>processbeaglequeue</literal> to 1).</para>
</sect1>
<para>There are more recent instructions about how to find and
install the <application>Firefox</application> extension on the
<ulink url="https://bitbucket.org/medoc/recoll/wiki/IndexBeagleWeb">
Recoll wiki</ulink>.</para>
</sect1>
<sect1 id="rcl.indexing.periodic">
<title>Periodic indexing</title>
+4 -4
View File
@@ -141,9 +141,9 @@ ConfBeaglePanelW::ConfBeaglePanelW(QWidget *parent, ConfNull *config)
ConfLink lnk2(new ConfLinkRclRep(config, "webcachedir"));
ConfParamFNW* cp2 =
new ConfParamFNW(this, lnk2, tr("Web cache directory name"),
tr("The name for a directory where to store the cache "
"for visited web pages.<br>"
new ConfParamFNW(this, lnk2, tr("Web page store directory name"),
tr("The name for a directory where to store the copies "
"of visited web pages.<br>"
"A non-absolute path is taken relative to the "
"configuration directory."), true);
cp2->setEnabled(cp1->m_cb->isChecked());
@@ -152,7 +152,7 @@ ConfBeaglePanelW::ConfBeaglePanelW(QWidget *parent, ConfNull *config)
ConfLink lnk3(new ConfLinkRclRep(config, "webcachemaxmbs"));
ConfParamIntW *cp3 =
new ConfParamIntW(this, lnk3, tr("Max. size for the web cache (MB)"),
new ConfParamIntW(this, lnk3, tr("Max. size for the web store (MB)"),
tr("Entries will be recycled once the size is reached"),
-1, 1000);
cp3->setEnabled(cp1->m_cb->isChecked());
+6 -1
View File
@@ -58,7 +58,12 @@ public:
virtual string getReason();
enum CreateFlags {CC_CRNONE=0, CC_CRUNIQUE=1, CC_CRTRUNCATE = 2};
enum CreateFlags {CC_CRNONE=0,
// Unique entries: erase older instances when same udi
// is stored.
CC_CRUNIQUE=1,
// Truncate file (restart from scratch).
CC_CRTRUNCATE = 2};
virtual bool create(off_t maxsize, int flags);
enum OpMode {CC_OPREAD, CC_OPWRITE};