5942 Commits

Author SHA1 Message Date
Jean-Francois Dockes
87256b6a69 doc 2022-10-02 09:05:33 +02:00
Jean-Francois Dockes
04335a11d7 oops forgotten -lmagic in Makefile 2022-09-25 20:28:35 +02:00
Jean-Francois Dockes
63f9e278da doc 2022-09-25 19:10:57 +02:00
Jean-Francois Dockes
394264a165 Fix searchdata::simplify() ending up erasing the GUI query, which could need to be reused for further filtering changes 2022-09-25 17:20:12 +02:00
Jean-Francois Dockes
21fedc1fb4 GUI dir side filter: the computed paths were wrong on Windows (like /c:/...) 2022-09-24 15:16:52 +02:00
Jean-Francois Dockes
06cd2bfd87 unac: exclude Tamil, move to Unicode 14.0.0, modernize autoxx, fix C build 2022-09-24 09:14:51 +02:00
Jean-Francois Dockes
b1b0a41973 Apply stemming to terms containing a single dash (e.g. thread-safe, thread-safeness) 2022-09-23 18:40:02 +02:00
Jean-Francois Dockes
5087447ef6 indents and auto 2022-09-23 17:43:28 +02:00
Jean-Francois Dockes
20c3a7ed12 indents + use range-base for loops in extrameta.cpp 2022-09-22 17:10:07 +02:00
Jean-Francois Dockes
9e0018034c Linux real time indexer: fix monitoring inactive under topdirs members which were symbolic links 2022-09-22 16:41:19 +02:00
Jean-Francois Dockes
cbcefc1517 Make sure that a single double quoted word (single-word phrase) is not stem-expanded as this is unexpected 2022-09-21 09:32:32 +02:00
Jean-Francois Dockes
2882acaa43 rclgrep: debian package 2022-09-21 08:53:45 +02:00
Jean-Francois Dockes
bd758648d2 small rclgrep build changes + bump version 2022-09-20 19:39:13 +02:00
Jean-Francois Dockes
7bf224df10 testmains: build synfamily 2022-09-20 15:53:24 +02:00
Jean-Francois Dockes
69ebfd3d95 Use pkg-config for looking for Xapian 2022-09-20 11:47:30 +02:00
Jean-Francois Dockes
4fe4a34949 add configure option to disable building the indexer, and avoid building the recoll lib if nothing needs it 2022-09-20 09:32:12 +02:00
Jean-Francois Dockes
d682348b7f rclgrep: more options 2022-09-11 19:14:51 +02:00
Jean-Francois Dockes
e2901a5506 Let rclgrep create its own config under $HOME/.config/rclgrep, because using the indexer config does not make much sense and presents issues (with logging mostly) 2022-09-11 10:01:05 +02:00
Jean-Francois Dockes
cadfabc3b1 pathut: give $HOME priority over pwd entry 2022-09-11 08:49:08 +02:00
Jean-Francois Dockes
5fc0066a34 Add code to use libmagic (disabled in recoll for now). rclgrep -r option 2022-09-09 18:44:21 +02:00
Jean-Francois Dockes
78183a8e00 Add textunknownasplain configuration variable to tell the indexer to process text/xxx where xxx is unknown as text/plain 2022-09-09 17:12:49 +02:00
Jean-Francois Dockes
34003390f2 temp: stdin ok, context lines ok? 2022-09-07 20:05:39 +02:00
Jean-Francois Dockes
dcbfe05296 Build rclgrep independantly to avoid the xapian and other deps 2022-09-07 15:01:40 +02:00
Jean-Francois Dockes
7b5a87df38 grep before stdin 2022-09-07 10:30:17 +02:00
Jean-Francois Dockes
30bf5df03e temp 2022-09-07 09:48:32 +02:00
Jean-Francois Dockes
84159dd54a rclgrep first lines 2022-09-05 18:53:51 +02:00
Jean-Francois Dockes
c96d29e3a3 more auto use in fsindexer.cpp 2022-09-05 18:53:06 +02:00
Jean-Francois Dockes
6aa5ef9064 smallut: new pcSubst with callback param 2022-09-05 10:44:10 +02:00
Jean-Francois Dockes
c86cb9438b handlers: remove remnant bits of python2 compat 2022-09-05 10:43:50 +02:00
Jean-Francois Dockes
27f4d1f321 messages 2022-08-30 11:32:26 +02:00
Jean-Francois Dockes
e0e1811e83 version 1.33.0 2022-08-30 11:06:04 +02:00
Jean-Francois Dockes
422d24e94e recoll-we-move-files: do not accept downloadsdir parameter, add -c configdir option
The parameter was not used by recollindex anyway and the script NEEDS access to the config for
retrieving other values. This can also be set with RECOLL_CONFDIR (which recollindex does).
2022-08-26 15:24:05 +02:00
Jean-Francois Dockes
8deed63be6 Add notices about quotes processing not being applied to single value parameters 2022-08-26 15:23:18 +02:00
Jean-Francois Dockes
35753d17d0 comments 2022-08-26 10:42:07 +02:00
Jean-Francois Dockes
c218d5bbcc webqueue indexing: suppress wrong error message occuring on first use with cache still empty 2022-08-25 09:54:49 +02:00
Jean-Francois Dockes
db8961740e doc: fix link to features page 2022-08-25 09:48:03 +02:00
Jean-Francois Dockes
c1bec06711 Merge branch 'master' into 'master'
a bunch of micro-optimizations

See merge request medoc92/recoll!9
2022-08-24 05:43:36 +00:00
shenleban tongying
3e3711da51 remove redundant .c_str()
u8s2qs(takes std::string)
dbd is same type of tl which is vector<string>
2022-08-23 05:56:14 -04:00
shenleban tongying
5608a8f79c && is already short-circuit evaluation
abusing ? : seems unnecessary

if m_stops empty -> just return false
then try find -> judge if the term can be found (result of find is not the end of m_stops)
2022-08-23 05:51:08 -04:00
shenleban tongying
758f468e3a Remove some leftover #includes related to unused Qt components 2022-08-23 05:39:16 -04:00
shenleban tongying
32b74f2ac2 fix: use std::make_shared in simple cases to reduce allocation 2022-08-23 05:24:33 -04:00
shenleban tongying
d00ea4e420 fix: asString already declared at func beginning 2022-08-23 05:06:39 -04:00
shenleban tongying
565a1115f7 fix: a naming reuse
At ~200 lines below, `it` get reused and shadowed in a for loop `QStringList::iterator it`.

Eliminate it completely. If we use C++20, we can just std::set::contains()
2022-08-23 04:57:21 -04:00
shenleban tongying
bed57aeaf6 simplify two true-false 2022-08-23 04:32:43 -04:00
shenleban tongying
708a57de1e add missing & for u8s2qs 2022-08-23 04:25:36 -04:00
Jean-Francois Dockes
a052278846 Oops in 489e88c8: fix to the recoll-we-move-file config issue. The script needs the config for other values. Set RECOLL_CONFDIR in the environment. 2022-08-22 18:37:19 +02:00
Jean-Francois Dockes
489e88c87d Have the indexer actually set the downloadsdir parameter on the recoll-we-move-files script command line. Previously, a custom directory could only be set for the default recoll configuration or if RECOLL_CONFDIR was set 2022-08-22 18:08:17 +02:00
Jean-Francois Dockes
02a4a69482 GUI indexing: only ask a confirmation about resetting the index if the dbdir currently exists 2022-08-22 07:56:43 +02:00
Jean-Francois Dockes
b8e062f66c Windows: add missing getopt.cc where needed in .pro 2022-08-21 16:52:22 +01:00
Jean-Francois Dockes
bf46e6ca0e Search: change query processing a bit so that we can use OP_FILTER for path selection 2022-08-21 14:14:07 +02:00