70 Commits

Author SHA1 Message Date
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
39c152bada Fixed MSVC warnings, all inocuous 2020-04-17 14:26:40 +01:00
Jean-Francois Dockes
ad466ee42d missing nl in usage string 2020-03-03 09:00:56 +01:00
Jean-Francois Dockes
da05b762a7 tabs 2020-01-31 09:28:06 +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
10b6069f0d Add recollq and Python API options to collapse duplicate results 2019-11-12 09:30:29 +01:00
Jean-Francois Dockes
8ddcc578ac Reverted 34d43d1188adfddb8fd8a4f7c7a28158a8b534f4
Keep only the main Snippet-producing makeabstract in rclquery, further
  formatting done in using modules
This was just a bad idea. The common methods are also used by the python module
2019-05-17 10:19:03 +02:00
Jean-Francois Dockes
34d43d1188 Keep only the main Snippet-producing makeabstract in rclquery, further formatting done in using modules 2019-05-13 18:11:23 +02:00
Jean-Francois Dockes
54f0eda990 make doc.meta an unordered_map 2019-04-20 15:04:19 +02:00
Jean-Francois Dockes
aa4e335893 recollq: missing newline and punctuation in usage string 2019-04-16 10:22:11 +02:00
Jean-Francois Dockes
20910d3911 Add pylogfilename and pyloglevel functions to allow separating python logging. Unify recollinit calls 2019-03-10 14:52:46 +01:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
ef4888d5ec Added -L option to recoll for forcing language for messages 2017-11-10 08:59:40 +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
15110701cc recollq: add synonyms use option 2015-11-21 12:52:41 +01:00
Jean-Francois Dockes
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +02:00
Jean-Francois Dockes
c6e228b7c6 Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes 2015-08-19 14:41:10 +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
b140ba1e63 recollq and python module 2015-08-02 19:13:27 +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
39b46dc55f Consequences of 3656:ee3c7f3d964f. Deal with the fact that some subdocs may not have a filename field at all 2014-07-07 18:58:00 +02:00
Jean-Francois Dockes
4a783beadc Query language: it used to be that an entry lacking whitespace but
splittable, like [term1,term2] was transformed into a phrase search, which
made sense in some cases, but no so many. This commit changes this:
[term1,term2] now means term1 AND term2. [term1/term2] means
term1 OR term2. This is especially useful for field searches where you
would previously be forced to repeat the field name for every term.
[somefield:term1 somefield:term2] can now be expressed as somefield:term1,term2
2014-06-12 17:12:08 +02:00
Jean-Francois Dockes
12acdc4faf Allow access to Xapian docid for Recoll document in recollq and Python API. Add sample Python program to find document duplicates, using MD5 terms 2014-05-19 12:00:15 +02:00
Jean-Francois Dockes
0ded457258 command line query: add option -N to print field names between values when -F is used. Interpret [-F ""] as print all fields 2014-04-30 10:01:03 +02:00
Jean-Francois Dockes
3c80e51940 simplified temp file handling for compressed documents and, for querying, implemented caching for last file uncompressed 2013-03-06 18:52:57 +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
1b38c5c98c replaced SCLT_EXCL clauses with general excl/neg flag 2013-01-05 18:15:54 +01: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 ext:(%22)
af2d031e50 moved snippets generation code from db to query object 2012-09-26 12:13:40 +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
61042ec16d command line: fix recollq to compute title-or-filename now that filename is not used as title by default any more 2012-03-18 15:18:10 +01:00
Jean-Francois Dockes
3fd65ea4cf recollq: allow selecting a result slice 2012-02-24 08:22:37 +01:00
Jean-Francois Dockes
0af800a66f small usage string clarifications 2011-11-14 10:04:05 +01:00
Jean-Francois Dockes
d2ad20b4c7 return from main routine instead of exiting to ensure clean-up of temp objects 2011-10-10 18:41:05 +02:00
Jean-Francois Dockes
3e533298c0 add fully parseable base64-encoded output mode for use by external programs 2011-10-04 08:02:57 +02:00
Jean-Francois Dockes
7d656a3f9d recollq: added -Q for just timing the query 2011-07-06 10:59:12 +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
e1a20aa810 got rid of accesses to global config through getMainConfig() 2011-03-02 13:47:07 +01:00
Jean-Francois Dockes
ceb996c8fb Implement date: date range filter/searches. Remove restriction on pure negative queries 2010-09-11 12:07:53 +02:00
"Jean-Francois Dockes ext:(%22)
6aeef686fc Created class to simplify temp directory management 2010-07-24 12:08:06 +02:00
Jean-Francois Dockes
4b08502de7 Added -i option to recollq to specify extra indexes 2010-07-04 19:23:21 +02:00
Jean-Francois Dockes
8b2b00bc72 cosmetics: use derived class for actual splitter instead of callback 2010-02-02 15:33:52 +01:00
dockes
b3c8a88e1d add option to print abstracts 2010-01-07 15:20:57 +00:00
dockes
9f00432fb7 adapt kio and recollq to the new internfile interface 2010-01-06 13:29:37 +00:00
dockes
54ec944e41 add option -s to select stemming language 2009-12-08 07:43:07 +00:00
dockes
7df2fe2957 added explicit flag parameter to Internfile constructeur for helping with beagle queue integration 2009-11-10 17:30:34 +00:00
dockes
b9cc5fb1e0 simplified db open by getting rid of the illusion that we could have several writeable dbs per config 2008-12-17 08:01:40 +00:00
dockes
3414963810 take care of splitting user string with respect to unicode white space, not only ascii 2008-12-05 11:09:31 +00:00