*** empty log message ***
This commit is contained in:
parent
5f28f27e2d
commit
ad52b0bfb2
@ -33,6 +33,7 @@ Installing Recoll
|
|||||||
* MS Word documents: antiword.
|
* MS Word documents: antiword.
|
||||||
* PDF files: pdftotext is part of the Xpdf package.
|
* PDF files: pdftotext is part of the Xpdf package.
|
||||||
* Postscript files: pstotext.
|
* Postscript files: pstotext.
|
||||||
|
* RTF files: the filter uses unrtf
|
||||||
|
|
||||||
Building
|
Building
|
||||||
|
|
||||||
|
|||||||
@ -111,8 +111,8 @@ Using Recoll
|
|||||||
this, you need to edit the configuration file ($HOME/.recoll/recoll.conf).
|
this, you need to edit the configuration file ($HOME/.recoll/recoll.conf).
|
||||||
Follow the comments in the file to adjust the parameters.
|
Follow the comments in the file to adjust the parameters.
|
||||||
|
|
||||||
Indexing is performed either by starting the recollindex program, or by
|
Indexing is performed either by the recollindex program, or by the
|
||||||
the indexing thread inside the recoll program (use the File menu).
|
indexing thread inside the recoll program (use the File menu).
|
||||||
|
|
||||||
Simple search
|
Simple search
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.38 2005-11-17 17:36:06 dockes Exp $ (C) 2004 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.39 2005-11-23 10:59:33 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@ -191,7 +191,7 @@ bool mySplitterCB::takeword(const std::string &term, int pos, int, int)
|
|||||||
{
|
{
|
||||||
// cerr << "splitCb: term " << term << endl;
|
// cerr << "splitCb: term " << term << endl;
|
||||||
//string printable;
|
//string printable;
|
||||||
//transcode(term, printable, "UTF-8", "ISO8859-1");
|
//transcode(term, printable, "UTF-8", "ISO-8859-1");
|
||||||
//cerr << "Adding " << printable << endl;
|
//cerr << "Adding " << printable << endl;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -436,6 +436,7 @@ bool Rcl::Db::needUpdate(const string &filename, const struct stat *stp)
|
|||||||
|
|
||||||
string pathterm = "P" + hash;
|
string pathterm = "P" + hash;
|
||||||
if (!ndb->wdb.term_exists(pathterm)) {
|
if (!ndb->wdb.term_exists(pathterm)) {
|
||||||
|
LOGDEB2(("Db::needUpdate: path inexistant: %s\n", filename.c_str()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -467,8 +468,8 @@ bool Rcl::Db::needUpdate(const string &filename, const struct stat *stp)
|
|||||||
}
|
}
|
||||||
long mtime = cp ? atol(cp) : 0;
|
long mtime = cp ? atol(cp) : 0;
|
||||||
if (mtime < stp->st_mtime) {
|
if (mtime < stp->st_mtime) {
|
||||||
LOGDEB2(("Need update: Db Doc mtime %ld file mtime %ld\n",
|
LOGDEB2(("Db::needUpdate: yes: mtime: Db %ld file %ld\n",
|
||||||
(long)mtime, (long)stp->st_mtime));
|
(long)mtime, (long)stp->st_mtime));
|
||||||
// Db is not up to date. Let's index the file
|
// Db is not up to date. Let's index the file
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -653,7 +654,7 @@ bool Rcl::Db::purge()
|
|||||||
ndb->wdb.delete_document(docid);
|
ndb->wdb.delete_document(docid);
|
||||||
LOGDEB(("Rcl::Db::purge: deleted document #%d\n", docid));
|
LOGDEB(("Rcl::Db::purge: deleted document #%d\n", docid));
|
||||||
} catch (const Xapian::DocNotFoundError &) {
|
} catch (const Xapian::DocNotFoundError &) {
|
||||||
LOGDEB2(("Rcl::Db::purge: document #%d not found\n", docid));
|
LOGDEB(("Rcl::Db::purge: document #%d not found\n", docid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user