436 Commits

Author SHA1 Message Date
Jean-Francois Dockes
dd6be25f13 fixed bug in path translation feature + confusing messages about reindexing missing files 2013-05-14 08:12:33 +02:00
Jean-Francois Dockes
7dee82154f Using a file name clause in advanced search crashed the GUI because of a bad dynamic cast in the history management code 2013-05-12 22:33:37 +02:00
Jean-Francois Dockes
1805c367ea check the stripchars options when adding an external index 2013-04-29 15:34:17 +02:00
Jean-Francois Dockes
b4c7efe490 Added (unifdefd) code to detect garbage data like undecoded base64 by looking at word length stats 2013-04-27 08:29:55 +02:00
Jean-Francois Dockes
2b80c77c23 Add possibility to display a list of sub-documents for a given result 2013-04-24 16:33:53 +02:00
Jean-Francois Dockes
9aad81c387 code moved around for clarity, no real changes 2013-04-23 15:59:06 +02:00
Jean-Francois Dockes
fc4adfdbaa moved code around 2013-04-22 17:30:11 +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
b88c28b856 be consistent in adding sig in value and doc record 2013-04-21 17:45:00 +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
48b3aa26c6 dont de-dup empty docs 2013-04-17 09:57:57 +02:00
Jean-Francois Dockes
de82f13ddc add functions and interface to display the duplicates of a result document 2013-04-17 09:36:46 +02:00
Jean-Francois Dockes
cf2c0b74db use add_boolean_term instead of add_term where it makes sense 2013-04-16 16:01:06 +02:00
Jean-Francois Dockes
8a1ea35fea add terms for doc md5s 2013-04-16 15:56:49 +02:00
Jean-Francois Dockes
5b740dce97 comment 2013-04-16 15:55:47 +02:00
Jean-Francois Dockes
aaa98a1156 make sure that expansions of * done to retrieve all years or all mime types from index are done against the appropriate field section of the main index, not the whole synexpand one 2013-04-13 16:34:09 +02:00
"Jean-Francois Dockes ext:(%22)
321978bfea replace atol with atoll to fix result size display bug. Also use atoll for time conversions, 2032 is coming... 2013-04-04 20:01:31 +02:00
Jean-Francois Dockes
39456d8135 avoid re-running a setQuery that already failed 2013-04-01 16:20:06 +02:00
Jean-Francois Dockes
426481e3af allow wild chars in dir clauses 2013-04-01 16:01:21 +02:00
Jean-Francois Dockes
2018ef76b8 extract more svg metadata 2013-03-28 08:49:40 +01:00
Jean-Francois Dockes
838ea6d623 got rid of STRIPCHARS compile-time variable to make the code more readable, and corresponding configure option. + make sure that CONFDIR from environment gets translated to absolute path 2013-03-27 17:38:11 +01:00
Jean-Francois Dockes
3736c00a3b more small fnmatch() fixes 2013-03-27 16:56:54 +01:00
Jean-Francois Dockes
dd0e89e694 fnmatch() errors encountered with charset conversion errors on file names were treated as matches 2013-03-27 15:44:24 +01:00
Jean-Francois Dockes
6a4a385657 added basic facility for result path translation 2013-03-26 10:42:46 +01:00
Jean-Francois Dockes
a57b02bd09 wildcard-expand mime types against the index not the config 2013-03-04 14:44:04 +01:00
Jean-Francois Dockes
66a5d9ab83 Arrange things so that "open parent" selects the file child when the parent is a directory 2013-02-27 14:36:45 +01:00
Jean-Francois Dockes
66f7ac31eb dont use prefixed terms for looking for snippets. Reversible 2013-02-27 14:36:10 +01:00
Jean-Francois Dockes
3abfd00635 improved detection of incomplete snippets lists 2013-02-26 15:49:36 +01:00
Jean-Francois Dockes
87120798c2 actually implement maxTermExpand and maxXapianClauses and improve error message 2013-02-26 14:34:25 +01:00
Jean-Francois Dockes
3c8c8982e8 abstract: ensure snippet does not extend below baseTextPosition, this prevents retrieving page numbers. 2013-02-26 10:40:47 +01:00
Jean-Francois Dockes
af8b82332e minor opt: avoid walking allterms if not needed: no stemlangs + stripchars 2013-02-19 16:11:15 +01:00
Jean-Francois Dockes
2e2eeb70fb For case-sensitive indexes, wildcard expansion was not performed correctly for lowercase terms if no upped/mixed case version existed 2013-02-16 16:44:14 +01:00
Jean-Francois Dockes
d3631b5ddf cleaned up processing of metadata from diverse origins (doc,extattrs,localfields) 2013-01-29 14:33:57 +01:00
Jean-Francois Dockes
fe2f32fc38 split the term expansion code out of rcldb.cpp 2013-01-15 10:06:24 +01:00
Jean-Francois Dockes
d9e6030b66 reorganized the term expansion code so that the term explorer works fully with case and diac sensitivity options 2013-01-14 18:06:48 +01:00
Jean-Francois Dockes
f8280c88ca small fixups and compilation issues 2013-01-14 09:57:04 +01:00
Jean-Francois Dockes
6cc58881ad comments 2013-01-13 09:08:05 +01:00
Jean-Francois Dockes
f83ffd4518 missinginclude 2013-01-13 09:05:33 +01:00
Jean-Francois Dockes
8dc1177fd4 edit 2013-01-11 17:58:23 +01:00
Jean-Francois Dockes
29d4d959a5 Add db stats option to term explorer 2013-01-10 15:12:43 +01:00
Jean-Francois Dockes
1b38c5c98c replaced SCLT_EXCL clauses with general excl/neg flag 2013-01-05 18:15:54 +01:00
Jean-Francois Dockes
cbc269abb1 define new searchdataclausepath to replace the old dir: filtering mechanism. ORing dirs now works 2013-01-05 16:21:30 +01:00
Jean-Francois Dockes
9b55eb1cda perform case/diac expansion when processing wildcards 2013-01-04 13:34:26 +01:00
Jean-Francois Dockes
e1276f5d98 comments 2013-01-04 11:57:03 +01:00
Jean-Francois Dockes
69aa57d182 wild/reg spe chars defs moved to cstr 2013-01-04 10:06:08 +01:00
Jean-Francois Dockes
edb1bb5eb1 protect the xrdb from multiple accesses from needupdate tests and write thread 2013-01-01 16:20:06 +01:00
Jean-Francois Dockes
d2f7f11715 Use dynamic lib for shared recoll code 2012-12-29 14:27:01 +01:00
Jean-Francois Dockes
1384cd3d05 m_havewriteq was not always initialized, resulting in stray flush call 2012-12-28 16:34:15 +01:00
Jean-Francois Dockes
a9599be5f9 make sure that sort by field "relevancyrating" is equivalent to natural Xapian ordering 2012-12-19 19:59:06 +01:00
Jean-Francois Dockes
9561309f0b make ugroups a real vector of vectors (the previous "vectors" had only one entry with the user string even if it was made of several words) 2012-12-19 19:57:12 +01:00