102 Commits

Author SHA1 Message Date
Jean-Francois Dockes
ecc4db774e recollindex: add option to output more detailed explanation of partial or complete failure (e.g.: aspell problem) 2017-04-24 09:16:41 +02:00
Jean-Francois Dockes
cb4ddc3608 Total file count was not reset at end of indexing 2016-08-12 09:04:19 +02:00
Jean-Francois Dockes
fe7e72ee1c Fix topdirs existence checking for non default config dirs 2016-08-03 07:12:48 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
d0400bdce7 slightly improve indexing stats by keep a count of file errors and remembering the total files 2016-04-11 17:23:02 +02:00
Jean-Francois Dockes
a4fd4ee5be moved code around to make smallut and pathut less recoll-specific and reusable. No actual changes 2016-03-21 12:55:31 +01:00
Jean-Francois Dockes
952d925c47 Dont check that the values in skippedPaths exist like we do with topdirs, they are wildcard exprs! 2016-01-29 20:09:35 +01:00
Jean-Francois Dockes
60b1044842 allow indexer and query tools to use different log files 2015-12-01 14:31:33 +01:00
Jean-Francois Dockes
8ce89f3ac1 Handling logout and system shutdown for recollindex on ms-windows. 2015-10-29 16:04:59 +01:00
Jean-Francois Dockes
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +02:00
Jean-Francois Dockes
9a72fa5980 got rid of a number of ifdefs which should not be needed anymore 2015-10-08 14:48:50 +02:00
Jean-Francois Dockes
ab93302812 Add GUI dialog to start indexing with special options. Closes issue #264 2015-10-01 09:07:00 +02:00
Jean-Francois Dockes
8022515a00 Fix computation of file:// urls from paths
--HG--
branch : WINDOWSPORT
2015-09-02 09:11:25 +02:00
Jean-Francois Dockes
a66209dc6e _WIN32 ifdefs cleanup
--HG--
branch : WINDOWSPORT
2015-09-02 08:40:39 +02:00
Jean-Francois Dockes
1cbf02f713 Suppressed many integer size warnings by a mix of type adjustments and casts,
none of which should have a real effect.

--HG--
branch : WINDOWSPORT
2015-09-01 19:39:20 +02:00
Jean-Francois Dockes
3aeffea387 recollindex and recollq build and run but fail because of unac error
--HG--
branch : WINDOWSPORT
2015-08-31 13:08:50 +02:00
Jean-Francois Dockes
75517f7497 recollindex builds. Still need to implement quite a lot of ifndefed stuff (pathut, rclconfig)
--HG--
branch : WINDOWSPORT
2015-08-30 15:30:50 +02:00
Jean-Francois Dockes
d4cd1dd91c 1st mods to get a build under windows. Does not build yet, far from it
--HG--
branch : WINDOWSPORT
2015-08-30 11:19:18 +02:00
Jean-Francois Dockes
62f4f7bd81 more safexx posix stuff 2015-08-22 08:37:58 +02:00
Jean-Francois Dockes
2c2f375a33 firstindexing was never run because the status file was trucated before it was tested for being not empty 2015-08-19 13:22:30 +02:00
Jean-Francois Dockes
c7f5318e43 config checking: only test skippedPaths existence for user-added values, not defaults 2015-06-08 13:20:06 +02:00
Jean-Francois Dockes
4989d1f991 Warn if config file contains non-existing paths. Fixes issue #244 2015-06-08 10:14:11 +02:00
Jean-Francois Dockes
d78b7069cc Check that all topdirs elements are absolute paths 2015-05-07 08:19:25 +02:00
Jean-Francois Dockes
1e6f56522e Let recollindex execute a script at startup to try and guess if it should retry failed files 2015-04-24 10:46:58 +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
811e02bf87 Revert change in indexfiles which was preventing the real time indexer from processing the web queue 2015-02-16 19:35:24 +01:00
Jean-Francois Dockes
ed7a970ee6 recollindex: allow passing -e -i for erasing index data before rebuilding 2014-05-01 08:04:44 +02:00
Jean-Francois Dockes
7c9b13d64e recollindex -i or -e: do not process the web queue 2014-04-30 11:12:08 +02:00
Jean-Francois Dockes
92331bfcbc added recursive reindex option to recollindex command line 2013-04-29 08:50:54 +02:00
Jean-Francois Dockes
62ca9549a3 fixed a few connections in subdocs aux reslist 2013-04-25 14:21:24 +02:00
Jean-Francois Dockes
4a870f984d Add parameter to chdir on recollindex startup, /tmp by default. Closes issue #129 2013-03-07 11:05:54 +01:00
Jean-Francois Dockes
4afde68f9e more config isolation. Still crashing 2012-11-30 16:45:02 +01:00
Jean-Francois Dockes
3a33a68e2d Use PTMutexLocker in workqueue, and make it restartable 2012-11-30 07:35:03 +01:00
Jean-Francois Dockes
cd53c0a536 Multithreaded indexing seems not to crash anymore thanks to locked existence map 2012-11-02 21:43:51 +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
cf96f69ee8 recollindex -i/e would dump core if file list was empty 2012-10-31 07:50:17 +01:00
Jean-Francois Dockes
37b7ac93f5 typo in 2754:5a63b39e0c5a 2012-05-28 09:41:40 +02:00
Jean-Francois Dockes
ff9a4a2a92 indexing daemon: reexecute after the initial indexing pass to get rid of memory if it was heavy 2012-05-25 18:51:52 +02:00
Jean-Francois Dockes
4eaf12fb9c more delistification 2012-04-12 08:15:50 +02:00
Jean-Francois Dockes
c7c9c49437 add -Z "in place reset" option to recollindex 2012-04-11 11:33:33 +02:00
Jean-Francois Dockes
2c6b023a88 real time indexer: monitor the configuration for changes and reexecute when needed 2012-03-06 09:35:21 +01:00
Jean-Francois Dockes
fccc0ac09c Get rid of the GUI indexing thread. All indexing now done by recollindex, with start/stop from the GUI 2012-02-07 17:07:07 +01:00
Jean-Francois Dockes
f59e2e033a index: update a status file while indexing 2012-02-06 17:03:39 +01:00
Jean-Francois Dockes
61bf17aa46 moved routine around to avoid link issues 2011-10-06 13:48:57 +02:00
Jean-Francois Dockes
95995b7ff9 Indexing: have the indexer put itself in the ionice "idle" class by default (can be changed in the config) 2011-09-29 12:03:26 +02: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
4869dfa775 real time indexing: also monitor x11 session health during the initial indexing pass 2011-04-28 15:15:16 +02:00
Jean-Francois Dockes
5d82b8652f improve acknowledgement of interrupt requests while starting monitor 2011-04-28 14:28:54 +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
c4106ae0d9 indexing: use PRIO_PROCESS not PRIO_PGRP for setting recollindex nice value 2011-03-02 17:26:35 +01:00