115 Commits

Author SHA1 Message Date
Jean-Francois Dockes
8853cb505a Windows: improve indexing process management. Fix Pidfile locking.
Use a stop file to request stop of indexing when the indexer was not
started from the current GUI instance.
2019-02-14 14:12:08 +01:00
Jean-Francois Dockes
02181fbb84 indexer bumping: check the status of touch command to avoid cc warning 2018-11-30 12:13:12 +01:00
Jean-Francois Dockes
9f94b9ed20 Removed most ancient references to Beagle in the code, replaced by WebQueue or such to clarify things. No real changes 2018-05-31 15:51:58 +02:00
Jean-Francois Dockes
9481bc1ab4 indexing log: fix idx/daemlogfilename not working as expected 2018-04-13 14:31:33 +02:00
Jean-Francois Dockes
272a63104e Add user interfaces for triggering an incremental in a running monitor 2018-04-12 09:46:25 +02:00
Jean-Francois Dockes
8559572c7e Allow defining monitordirs variable: subset/dir of topdirs which will get monitored for updates 2018-04-11 17:45:06 +02:00
Jean-Francois Dockes
718019ba88 recollindex: Fix param name downloadsdir -> webdownloadsdir. Fixes recollfirefox sourceforge Issue #9 2017-12-26 12:26:42 +01:00
Jean-Francois Dockes
d88ba87d0e recollindex: -r -e would erase, then reindex the docs instead of just erase 2017-12-20 09:05:59 +01:00
Jean-Francois Dockes
5afe1aa631 Add and interface a script to move the files generated by the WebExtensions new browser extension into the web input queue 2017-11-24 15:30:27 +01:00
Jean-Francois Dockes
c123b17f19 Changed old beaglexx identifiers to webxx. Still some remaining 2017-11-24 14:04:44 +01:00
Jean-Francois Dockes
90dab89303 Added option -P to recollindex to force purge pass with -i 2017-11-15 11:02:21 +01:00
Jean-Francois Dockes
799190b702 Small windows build adjustments 2017-09-04 09:59:37 +02:00
Jean-Francois Dockes
d808c927f0 Use setpgid(0,0) instead of setpgid(0,getpid()) to walk around apparent issue in dragonfly bsd 2017-06-30 15:25:30 +02:00
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