Jean-Francois Dockes
c1fad4afc7
Replaced pthread with std:: thread and mutex
2016-07-12 18:08:21 +02:00
Jean-Francois Dockes
f6a999de84
logging now uses c++ streams
2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
e6c0ca403d
recollindex: do not retry files which previously failed to be indexed, except if they were changed since, or option -k is set
2015-04-23 10:37:37 +02:00
Jean-Francois Dockes
cd892ee1a7
usemtime config variable needs to be global
2014-12-09 15:58:23 +01:00
Jean-Francois Dockes
d630cbbaec
Delete RCL_USE_XATTR configure/compile time variable, it was not
...
useful. Add configuration variable to use mtime instead of ctime for update
detection. Useful on a system where xattrs would be modified but not
indexed, to avoid excessive reindexing.
2014-12-09 11:15:17 +01:00
Jean-Francois Dockes
56a56500c1
Handle partial indexing of document restricted to metadata from extended attributes
2013-10-04 10:57:11 +02:00
medoc
641acd3d68
move the execution of external metadata-gathering commands from fsindexer to internfile for consistency of handling with filter-generated metadata
2013-09-06 11:51:00 +02:00
Jean-Francois Dockes
906e58feff
added code to purge obsolete messages when a compound document (esp. mbox) is shortened and a partial update is performed (no general purge). Else the orphan docs remained in the index potentially forever (needed actual reindex of the file by a full pass to go away)
2013-04-22 11:32:49 +02:00
Jean-Francois Dockes
f05cae7344
arrange so that a default first indexing run for a given user runs a quick shallow pass, so that queries return some results quickly after indexing starts, avoiding user frustration
2013-04-18 14:29:32 +02:00
Jean-Francois Dockes
caf5d105df
Add support for indexing symlinks as such. Use inode/directory instead of application/x-fsdirectory as directory mime type. Fix stat/lstat usage in places (wipedir)
2013-04-17 18:34:02 +02:00
Jean-Francois Dockes
3c80e51940
simplified temp file handling for compressed documents and, for querying, implemented caching for last file uncompressed
2013-03-06 18:52:57 +01:00
Jean-Francois Dockes
e8afc66d8f
fix compile issue with idxthreads enabled
2013-01-28 09:45:33 +01:00
Jean-Francois Dockes
4272939c3d
add possibility to import tags from external app, e.g. tmsu
2013-01-22 18:30:18 +01:00
Jean-Francois Dockes
4afde68f9e
more config isolation. Still crashing
2012-11-30 16:45:02 +01:00
Jean-Francois Dockes
9146929f5e
implemented configuration for thread structure. Still crashes, but not often...
2012-11-29 17:26:48 +01:00
Jean-Francois Dockes
ee7d0f2ee7
1st parallel multithreaded version of indexing which can do my home without crashing... Let's checkpoint
2012-11-01 11:19:48 +01:00
Jean-Francois Dockes
9bc2fc8958
Experimented with multithreading the indexing pipeline. Left undef'd as 15%-30% improvement of indexing time does not seem worth the complexity
2012-02-21 17:09:02 +01:00
Jean-Francois Dockes
516863b5d6
GUI: perform up to date check before previewing a subdoc. This is for example to avoid showing the wrong message if a mail folder has been compacted
2012-01-20 17:48:55 +01:00
Jean-Francois Dockes
478fb84ec4
index: add recollindex -f option to ignore skippedPaths/Names when using recollindex -i. Allows arbitrary (non-recoll) path handling for skipped subtree
2011-05-15 22:19:55 +02:00
Jean-Francois Dockes
55f124725f
Fix problems that occurred when multiple threads were trying to read/convert files at the same time (ie: indexing and previewing threads in the GUI calling internfile()). Either get rid of or lock-protect all shared data, eliminate misc initialization possible conflicts by using static initializers. Hopefuly closes issue #51
2011-04-28 10:58:33 +02:00
Jean-Francois Dockes
b28eaf23fb
Got rid of all the old RCS id strings
2011-04-27 08:22:17 +02:00
"Jean-Francois Dockes ext:(%22)
6aeef686fc
Created class to simplify temp directory management
2010-07-24 12:08:06 +02:00
dockes
7c245fe986
changed apptag field name to rclaptg
2009-11-15 14:39:08 +00:00
dockes
6ef7b546f2
beaglequeue indexFiles
2009-11-14 08:21:45 +00:00
dockes
4503971dd0
integrate beaglequeueindexer for indexing. Work remains for indexfiles() at least
2009-11-13 09:07:18 +00:00
dockes
cb3aa9bc1a
moved common db code from fsindexer to confindexer
2009-11-11 07:47:55 +00:00
dockes
d14601bde9
dbindexer->fsindexer, split into its own file
2009-11-10 18:10:54 +00:00