116 Commits

Author SHA1 Message Date
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
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
595e419d93 Implemented range queries, based on storing fields in xapian values 2018-01-24 09:43:20 +01:00
Jean-Francois Dockes
0b0385e459 got rid of the STD_SHARED_XX std/tr1 defines 2016-07-13 15:12:25 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02: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
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
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +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
67028a0beb Autophrase only active on AND lists 2015-07-31 13:01:02 +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
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
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
303321e568 perform tilde expansion for dir: clauses. Closes issue #177 2014-03-10 10:14:04 +01:00
Jean-Francois Dockes
e7b3042310 the way we added the autophrase to the query (OR) created false matches. Use AND_MAYBE instead 2013-05-26 15:26:41 +02:00
Jean-Francois Dockes
9a775bc1a2 sometimes inserted garbage in term->uterm map 2013-05-23 09:47:05 +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
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
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
a57b02bd09 wildcard-expand mime types against the index not the config 2013-03-04 14:44:04 +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
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
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
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
Jean-Francois Dockes
5c6db5331c use const rclconfig 2012-11-28 13:20:52 +01:00
Jean-Francois Dockes
7115be2440 stemdb: only need to expand the unac'd term if it differs from raw + comments and traces 2012-11-26 09:13:57 +01:00
Jean-Francois Dockes
48deb73c43 add "soft" term expansion limit not causing error when reached 2012-11-18 17:28:49 +01:00
Jean-Francois Dockes
881794ce2b simplified and dispatched code in the searchdata monster 2012-11-18 13:25:54 +01:00
Jean-Francois Dockes
816980a1c4 implemented advanced search history feature 2012-10-16 13:37:56 +02:00
Jean-Francois Dockes
075f1f7518 filenames used for "filename search" need to be lowercased and stripped 2012-10-15 08:06:04 +02:00
Jean-Francois Dockes
bfeb681574 mimetype T prefix was mishandled for a raw index 2012-10-13 11:08:53 +02:00
Jean-Francois Dockes
a16d047f8d Snippet generation: limit positions walk to max hit position. Return status code when truncated walk possibly generated incomplete snippets. Implement config variabl for max pos walk 2012-10-08 14:30:14 +02:00
Jean-Francois Dockes
1329265b7b check for empty file name in internfile, else gets stuck later because empty fn is interpreted as read stdin in md5 2012-10-05 16:42:13 +02:00
Jean-Francois Dockes
c9f6612c10 implemented proper limitation and error reporting in case of truncation for term and query expansions 2012-10-05 12:36:19 +02:00
Jean-Francois Dockes
bfd111ecaa removed list size truncature on filename expansion 2012-10-05 09:19:42 +02:00
Jean-Francois Dockes
2807fa3c18 autodiacsens and autocasesens parameters 2012-10-03 15:35:40 +02:00
Jean-Francois Dockes
c589419267 Abstracts: improve the way we group terms for quality computation 2012-10-03 11:17:16 +02:00
Jean-Francois Dockes
cb654c74e9 comments and small fixes to case/diac code 2012-10-01 17:26:16 +02:00
Jean-Francois Dockes
9b273d94e8 ensure that recoll configured with indexStripChars=1 runs as compiled with -DRCL_INDEX_STRIPCHARS
--HG--
branch : CASEDIACSENS
2012-09-15 15:16:20 +02:00
Jean-Francois Dockes
5b38b9ebd0 case sensitivity: clause mod flags were lost on the way
--HG--
branch : CASEDIACSENS
2012-09-14 15:02:51 +02:00
Jean-Francois Dockes
a7222d4f96 Make Recoll optionally sensitive to case and diacritics
--HG--
branch : CASEDIACSENS
2012-09-14 14:34:27 +02:00
"Jean-Francois Dockes ext:(%22)
6eada80b08 allow multiple directory specs as in dir:/home/me -dir:tmp 2012-08-19 08:27:12 +02:00
"Jean-Francois Dockes ext:(%22)
dc7b3420a0 defined data structure to pass around the search term description used for highlighting and other 2012-08-17 10:45:00 +02:00