505 Commits

Author SHA1 Message Date
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
d1f16af2b4 Actually make use of the autodiacsens and autocasesens configuration variables. Closes issue #299 2016-02-13 12:22:14 +01:00
Jean-Francois Dockes
c289085003 Fix the language parser to properly handle multiple mime type specs (fix regression over 1.20) 2016-01-29 14:03:09 +01:00
Jean-Francois Dockes
53f57e75c6 rcldb syngroups: allow setting synonyms source after construction 2015-11-21 12:48:09 +01:00
Jean-Francois Dockes
c420a5cbb3 Avoid using the return value of localtime_r, it's sometimes null on windows. 2015-11-15 16:07:01 +01:00
Jean-Francois Dockes
f70c92c629 rcldb::getSubDocs() (called from GUI show subdocs) was returning too many results because the parent/child ipath test was flawed 2015-11-03 08:40:13 +01:00
Jean-Francois Dockes
d013ecb1bc Windows: fix path splitting for the XP field 2015-10-14 10:53:15 +02:00
Jean-Francois Dockes
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +02:00
Jean-Francois Dockes
3b18facc16 Fixed some "unused xxx" warnings + include autoconfig 2015-10-07 08:30:49 +02:00
Jean-Francois Dockes
d942242047 replace all %lld instances 2015-10-03 17:25:17 +02:00
Jean-Francois Dockes
7180def3df Avanced search in "Any Clause" mode: directory filter would not filter but add an ORed clause! Fixes issue #269 2015-09-28 10:00:32 +02:00
Jean-Francois Dockes
5330685ec1 Merged the changes from the current windows port 2015-09-25 16:14:27 +02:00
Jean-Francois Dockes
c1c73573d8 more int fixups
--HG--
branch : WINDOWSPORT
2015-09-02 07:34:59 +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
7c3afbafa7 Test for empty term before dereferencing utf-8 iterator
--HG--
branch : WINDOWSPORT
2015-09-01 14:45:41 +02:00
Jean-Francois Dockes
7294b960d7 Turn synonyms expansion off if the search is sensitive to either case or diacritics. + misc trace improvements 2015-09-01 08:13:11 +02:00
Jean-Francois Dockes
815da2f590 Turn synonyms expansion off if the search is sensitive to either case or diacritics. + misc trace improvements
--HG--
branch : WINDOWSPORT
2015-09-01 08:13:11 +02:00
Jean-Francois Dockes
94da56aadc Handle windows paths: mostly change tests for relative, and some other tweaks.
--HG--
branch : WINDOWSPORT
2015-08-31 17:20:04 +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
853cdea7d7 fix bogus signedness warning
--HG--
branch : WINDOWSPORT
2015-08-30 17:45:19 +02:00
Jean-Francois Dockes
14c8e740d6 Windows: fixed a number of int size warnings mostly by casting them away
--HG--
branch : WINDOWSPORT
2015-08-30 17:30:31 +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
d63b16de93 fix typo in synonyms multigroups update 2015-08-25 07:36:48 +02:00
Jean-Francois Dockes
e7a669b668 Support multi-word synonyms and add modifier to turn-off synonyms expansion 2015-08-23 12:15:52 +02:00
Jean-Francois Dockes
d8e8ce6ee2 Implement single-term query-time synonyms 2015-08-22 15:11:07 +02:00
Jean-Francois Dockes
04cd868950 Handle the case where unac produces whitespace, which may occur with letter-less accents 2015-08-13 18:22:09 +02:00
Jean-Francois Dockes
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +02:00
Jean-Francois Dockes
abe9fb671f clean up autoconf of unordered_xx, prepare change to shared_ptr 2015-08-09 10:21:46 +02:00
Jean-Francois Dockes
c8d34dc8ba Prevent highligting of bogus terms in results (prevent path elts, negative queries or internal stuff) 2015-08-08 21:56:45 +02:00
Jean-Francois Dockes
72da3ba2a9 merge 2015-08-06 08:26:39 +02:00
Jean-Francois Dockes
1e2fdcd21d other ut/test drivers Makefiles 2015-08-05 09:01:11 +02:00
Jean-Francois Dockes
67028a0beb Autophrase only active on AND lists 2015-07-31 13:01:02 +02:00
Jean-Francois Dockes
922f73039a reslist popup: enable save to file for web cache entries, disable open parent 2015-07-25 10:59:27 +02:00
Jean-Francois Dockes
2a69d30701 Fixed the autophrase fix: need a full tree flatten to work 2015-06-14 09:22:34 +02:00
Jean-Francois Dockes
3e9581345d Fix autophrase for queries produced by new parser 2015-06-13 08:18:08 +02:00
Jean-Francois Dockes
b53686a084 rearranged a bit the query text splitting and arranged to generate an error when an excessively long term results in a null query (but not when there are other usable terms) 2015-06-09 19:44:19 +02:00
Jean-Francois Dockes
94b94593e3 comments and indent 2015-06-09 19:34:15 +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
9ba0b3e8bc Replaced RSA md5 code with public domain OpenBSD/debian dpkg version 2015-03-01 14:28:01 +01:00
Jean-Francois Dockes
3fb7183eae Converted query language parser from the old regexp jungle to bison. Allow using parentheses for clearer syntax. 2015-01-29 16:15:17 +01:00
Jean-Francois Dockes
81cc5326ba missing ifdef would make --disable-idxthreads build fail 2014-11-20 19:31:35 +01:00
Jean-Francois Dockes
e7a86aee47 Repaired problem in commit 577fd9d3a634 which broke case-sensitive indexing term prefix wrapping 2014-07-24 15:29:19 +02:00
Jean-Francois Dockes
368ebf2f86 All docs get containerfilename field, indexed exclusively with prefix (only a field search containerfilename:someterm can match). 2014-07-23 19:30:41 +02:00
Jean-Francois Dockes
19da7020d6 Add new kind of aliases for field names, to be used only at query time 2014-07-23 16:52:08 +02:00
Jean-Francois Dockes
578511c3e2 Add flag qualifying field to be indexed exclusively with prefix 2014-07-23 15:28:16 +02:00
Jean-Francois Dockes
088f1f9a9f try out modification to use container file name for display, but not search, purposes when the subdocument file name is not set 2014-07-16 17:05:26 +02:00
Jean-Francois Dockes
50ee2838dc Use a single Xapian Database object for update and query operations while indexing instead of separately open read/write ones. Separate objects seem to trigger Xapian issues 2014-06-07 11:44:04 +02:00
Jean-Francois Dockes
6574ff514a doc 2014-05-15 15:21:08 +02:00
Jean-Francois Dockes
e867f855ad get rid of numerous probably inocuous valgrind/helgrind messages by ensuring that actual string copies are passed between threads, without refcount/shared data magic 2014-05-05 19:01:58 +02:00