635 Commits

Author SHA1 Message Date
Jean-Francois Dockes
02c9a6f3f7 Slightly experimental change to speed up indexer exit after interrupt by closing up all queues. 2021-11-24 19:46:56 +01:00
Jean-Francois Dockes
756a944ef3 Probably null change: make sure that all classes with destructors also have copy constructors and assignment operators 2021-11-23 16:38:11 +01:00
Jean-Francois Dockes
ce0352eff4 Disable std::regex use for older gcc versions 2021-08-13 21:38:12 +02:00
Jean-Francois Dockes
3d63f5fbd0 justification, use auto, range for, etc. 2021-06-22 09:01:07 +02:00
Jean-Francois Dockes
d3d6394652 Anchored searches: remove unwarranted slack increase. The anchor term should behave like a normal one for slack computations 2021-06-22 08:26:22 +02:00
Jean-Francois Dockes
d76e279492 Windows: term prefixes: work around the fact that we forgot to lowercase the drive names 2021-04-28 07:16:32 +01:00
Jean-Francois Dockes
e5c320ca51 Add support for "issub" special field specifying that the results should be standalone (issub:0) or embedded (issub:1) 2021-04-24 13:48:16 +02:00
Jean-Francois Dockes
7310709e08 Aspell: execute the command in pipe mode instead of loading the dll for getting suggestions: simpler and no crashes of the whole UI in case of problem 2021-04-23 10:57:55 +02:00
Jean-Francois Dockes
d207d4f1c5 indents etc. 2021-04-22 09:03:36 +02:00
Jean-Francois Dockes
f1b2d3004a Simplified the indexing status update code by treating the updater as a singleton
Add a 'flushing' state for when we commit the Xapian index.
2021-04-16 13:27:53 +02:00
Jean-Francois Dockes
fc0a48a524 Snippets generation: we did not store a possible last incomplete snippet at the end of the text 2021-04-13 10:43:10 +02:00
Jean-Francois Dockes
a3b1b48450 fixed mac os clang warnings 2021-04-01 09:22:17 -07:00
Jean-Francois Dockes
4756b1252b Add recollindex option to write file not indexed reasons to diagnostics file 2021-04-01 10:32:04 +02:00
Jean-Francois Dockes
8da0bf28cc GUI: add popup menu option to copy simple file name. fix typo keytcfn->keyctfn. Change utf8check() parms for easier usage 2021-03-27 09:00:28 +01:00
Jean-Francois Dockes
f57530e2a6 Python module: add method to retrieve the full snippets list 2021-03-10 13:30:50 +01:00
freddii
89c7efe682 fixed typos 2021-02-04 17:12:22 +01:00
Jean-Francois Dockes
cd46ba62fc multiword synonyms: fix position wrong by 1, phrase prox to adjacent term failed 2021-01-15 15:42:09 +01:00
Jean-Francois Dockes
aa2f0bfd73 implemented multi-word terms indexing for phrase/prox search on multiword synonyms 2021-01-15 14:13:08 +01:00
Jean-Francois Dockes
3c7e3ccbc7 Add some override qualifiers on methods 2020-12-28 14:17:27 +01:00
Jean-Francois Dockes
3479e7cd85 rclquery: increase the slice size from 50 to 100 seems to generally improve perfs 2020-12-17 11:13:59 +01:00
Jean-Francois Dockes
19eac2d7dc Renamed path_open() -> path_streamopen() 2020-09-29 13:35:55 +02:00
Jean-Francois Dockes
c1ef2187d3 Fixed LOG calls obsolescence issues preventing build with staticverbosity 7 2020-09-06 14:59:00 +01:00
Jean-Francois Dockes
20e845709e recollq: added option -p to be used with -A for showing page-numbered snippets instead of abstract 2020-08-29 09:43:21 +02:00
Jean-Francois Dockes
d9c1a9648c Windows msvc: rename dirent.h->msvc_dirent.h. mh_text: fix mimeconf-win and warning 2020-08-15 10:12:36 +01:00
Jean-Francois Dockes
322e17081f GUI filename search: arrange for directories to be sorted first by default 2020-08-11 18:30:51 +02:00
Jean-Francois Dockes
13333e6512 use common method when concatenating multiple values for a metadata element. Use a comma as separator 2020-08-11 11:39:22 +02:00
Jean-Francois Dockes
09ad94f3b7 removed obsolete test mains Makefiles 2020-08-06 11:46:11 +02:00
Jean-Francois Dockes
3948f9bd33 GUI: create separate popup menu entries for open parent and open folder 2020-07-16 10:25:26 +02:00
Jean-Francois Dockes
02556e7d08 doc and comments 2020-06-25 16:06:45 +02:00
Jean-Francois Dockes
f15e3f21fa Windows: replace unlink() with unicode-capable path_unlink() 2020-06-02 10:56:55 +01:00
Jean-Francois Dockes
560041cab9 cleared out errant tabs 2020-05-30 15:54:49 +02:00
Jean-Francois Dockes
796db76fc6 When splitting to generate abstract from text, do not set ONLYSPANS, generate all terms. Seems to solve issues with the snippet generator not finding a match when the query term is a partial span 2020-05-30 12:37:14 +02:00
Jean-Francois Dockes
5f76c2527d GUI searching with saved query: restore external indexes from saved query 2020-05-19 14:20:21 +02:00
Jean-Francois Dockes
2f794be314 Fix Windows gcc build. Needs some def to get w7+ windows api 2020-04-25 11:41:37 +02:00
Jean-Francois Dockes
126ac47dba tabs and indents 2020-04-24 13:45:41 +02:00
Jean-Francois Dockes
8a29522ef8 Fix issues consequent to type change for searchdata m_minsize and m_maxsize members 2020-04-21 13:45:00 +01:00
Jean-Francois Dockes
39c152bada Fixed MSVC warnings, all inocuous 2020-04-17 14:26:40 +01:00
Jean-Francois Dockes
12ebb7ac6e Windows: deal with non-ASCII user login, non-ascii paths in confdir etc. 2020-04-15 14:03:04 +01:00
Jean-Francois Dockes
9565663f09 textsplit: create isNGRAMMED() method to replace isCJK() and let the latter actually return what it says 2020-04-14 09:27:26 +02:00
Jean-Francois Dockes
5dd8774b3c whitespace and indents only 2020-04-14 09:25:13 +02:00
Jean-Francois Dockes
6999284c42 indent and decls 2020-04-05 13:46:47 +01:00
Jean-Francois Dockes
afcacf63c0 Fix page handling in Korean spitter, bug would shift the byte positions, with bad consequences for snippets 2020-03-31 16:11:37 +02:00
Jean-Francois Dockes
b6cd22c320 rcldb: message log level change (docid beyond updated.size()) 2020-03-27 10:56:14 +01:00
Jean-Francois Dockes
414222c003 use conftree conversions 2019-12-02 09:37:34 +01:00
Jean-Francois Dockes
f42338c026 recollq: add option to obtain exact result count 2019-11-28 16:13:27 +01:00
Jean-Francois Dockes
1243c30980 rcldb_p needs to include log.h if threads disabled 2019-11-25 09:58:26 +01:00
Jean-Francois Dockes
b368e4276f do not include excluded terms in the highlight information data 2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
6a405e2089 hldata: comments + map->unordered_map 2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
8ed8d05aab cjk phrases: hopefully the right fix this time for slack computation. lastpos-termcount correction was applied twice 2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
fae0621d76 hldata generation during query processing: increase slack if position increases faster than term count (cjk) 2019-07-21 19:13:24 +02:00