74 Commits

Author SHA1 Message Date
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
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
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
freddii
89c7efe682 fixed typos 2021-02-04 17:12:22 +01:00
Jean-Francois Dockes
3c7e3ccbc7 Add some override qualifiers on methods 2020-12-28 14:17:27 +01: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
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
ea3bd23d7c Fixed namespace decls issues 2018-04-18 09:34:58 +02: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
e39b27e920 Dir filtering: would miss results if the filtered-for directory was partly upper-case and had a lower-case quasi-homonym 2018-01-08 14:19:48 +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
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
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
e7a669b668 Support multi-word synonyms and add modifier to turn-off synonyms expansion 2015-08-23 12:15:52 +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
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
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
bd100b61cb GUI multiple clicks crash: make sure the GUI cant reenter the db 2013-11-09 11:22:08 +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
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
426481e3af allow wild chars in dir clauses 2013-04-01 16:01:21 +02: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
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
5c6db5331c use const rclconfig 2012-11-28 13:20:52 +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
2ad6e2490a stray virtual 2012-10-17 17:53:33 +02:00
Jean-Francois Dockes
816980a1c4 implemented advanced search history feature 2012-10-16 13:37:56 +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
a7222d4f96 Make Recoll optionally sensitive to case and diacritics
--HG--
branch : CASEDIACSENS
2012-09-14 14:34:27 +02:00
Jean-Francois Dockes
e0bc65bfdd small mods inocuous or auxiliary to case/diac sensitivity but which can live in main branch 2012-09-13 12:25:01 +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
Jean-Francois Dockes
8b34610dde Cleaned up file name handling. Fixes that file names were sometimes indexed split, sometimes not. They now always are both, with different prefixes. Forces reindex 2012-04-13 09:18:08 +02:00
Jean-Francois Dockes
7ddbbb1ee8 search language: implemented filtering on file size 2012-03-07 17:08:22 +01:00
Jean-Francois Dockes
bb2685c2f5 Add frequency threshold to avoid adding common term to the automatic phrase search extension. Use autophrase by default with simple search, with a default freq threshold at 2% 2011-10-04 09:03:43 +02:00
Jean-Francois Dockes
38e0957962 const string cleanup 2011-10-01 16:39:38 +02:00
Jean-Francois Dockes
ee0d602ab3 Implement anchored searches: terms to be found at a maximum distance of the start or end of the text 2011-09-20 16:42:56 +02:00
Jean-Francois Dockes
91f277ec26 Search: allow setting weights on terms, ie: "important"2.5 2011-05-30 14:03:01 +02:00
Jean-Francois Dockes
ce9e9e4d00 query: support negative mime and catg clauses: -mime:text/plain 2011-05-15 09:29:24 +02:00
Jean-Francois Dockes
b28eaf23fb Got rid of all the old RCS id strings 2011-04-27 08:22:17 +02:00
Jean-Francois Dockes
e883c4d04e Search: allow negative directory filtering (all except from dir). Emit more explicit errors for other unallowed negative search clauses. 2011-03-30 14:35:09 +02:00
Jean-Francois Dockes
107e02b74a Gui search: make autophrase work with a query language query 2010-12-21 16:00:25 +01:00