72 Commits

Author SHA1 Message Date
Jean-Francois Dockes
414222c003 use conftree conversions 2019-12-02 09:37:34 +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
736051fcd6 GUI snippets window: add options for the max list length and for sorting the snippets by page number 2019-07-21 19:09:51 +02: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
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
3d4fd3c62e When storing doc text, always use a metadata entry. Get rid of the code to
store it in the data record. Make storing the default.  Add "fetchtext"
parameter to getDoc() to fetch and store the text in doc.text. Make this
accessible from Python. Misc comments and indents.
2018-01-25 13:20:02 +01:00
Jean-Francois Dockes
653b1fb5a5 rclquery: fixed log call formats and indentation 2017-12-07 10:44:54 +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
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +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
19da7020d6 Add new kind of aliases for field names, to be used only at query time 2014-07-23 16:52:08 +02:00
medoc
6378586c69 trace 2013-07-16 09:59:16 +02:00
Jean-Francois Dockes
e6402efbfb always set the "haspages" flags when reading doc from index so that the Snippets link can be set even if no abstract is computed 2013-05-22 13:24:31 +02:00
Jean-Francois Dockes
fc4adfdbaa moved code around 2013-04-22 17:30:11 +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
3abfd00635 improved detection of incomplete snippets lists 2013-02-26 15:49:36 +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
179d22f4ff added method to Rcl::Query for retrieving ref to SearchData + misc rclquery cleanup 2012-12-19 10:33:27 +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
5f0e348216 dont generate error for empty abstract this is a problem for python 2012-10-21 17:57:08 +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
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
3f331ebb3e fix glitch caused by udi prefix change 2012-10-03 08:05:39 +02:00
Jean-Francois Dockes
f025ff33dd arrange to enable passing a match term as an argument when opening a document with the native editor (only / mostly pdf for now) 2012-10-02 14:40:09 +02:00
Jean-Francois Dockes
133d3b2a10 Only create the snippets menu entry if doc has pages. Add code for a snippets window link inside the result list 2012-10-02 10:56:23 +02:00
"Jean-Francois Dockes ext:(%22)
be7aed5659 snippets: assign slots by group of derived terms 2012-09-27 12:34:30 +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
913dffc597 added code for unac to perform pure case-folding 2012-08-27 12:40:57 +02:00
"Jean-Francois Dockes ext:(%22)
0ebfc496d8 add capability to remember page breaks generated by, e.g. pdftotext, and use them to start an external viewer on a match page 2012-08-21 15:03:02 +02:00
Jean-Francois Dockes
f34994d882 Get recoll to compile with clang (on freebsd) and eliminate warnings. You can no build recoll with make CXX=clang LINK=clang 2012-05-20 17:35:03 +02:00
Jean-Francois Dockes
ec7b40a52e cosmetics: list -> vector in more places 2012-04-11 19:58:08 +02:00
Jean-Francois Dockes
85166c93b2 Changed the way we handle document sizes. The fbytes field should now be in most cases the most "natural" document size. pcbytes holds the top external container size and dbytes the text size 2012-03-07 15:39:30 +01:00
Jean-Francois Dockes
9bc2fc8958 Experimented with multithreading the indexing pipeline. Left undef'd as 15%-30% improvement of indexing time does not seem worth the complexity 2012-02-21 17:09:02 +01:00
Jean-Francois Dockes
38e0957962 const string cleanup 2011-10-01 16:39:38 +02:00
Jean-Francois Dockes
424e4173ba threading cleanup: add mutex protection around moronic change to transcode. Add mutex to equiv issue in unac. Rename const strings everywhere to cstr_xx to ease future detection of potentially problematic static variables. Most probably close issue #65 2011-09-28 15:01:14 +02:00
"Jean-Francois Dockes ext:(%22)
48e86c99b5 GUI restable: fix sorting by file and doc size 2011-07-20 10:44:04 +02:00
Jean-Francois Dockes
ce607032fa Fix a number of potential or actual static object initialization issues 2011-05-09 20:49:15 +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
ae6d758b34 GUI: display estimated result count in status line 2011-03-11 11:54:50 +01:00
Jean-Francois Dockes
50238d5577 restable: highlight match terms 2011-01-28 12:28:27 +01:00
Jean-Francois Dockes
76edc0b290 missing stdio.h 2011-01-17 16:09:14 +01:00
Jean-Francois Dockes
93fb51d59b query: add duplication indicator to relevancy rating 2011-01-17 16:04:07 +01:00
Jean-Francois Dockes
34511918d9 query: extract the collapse count from xapian + small cleanups 2011-01-17 11:25:05 +01:00
Jean-Francois Dockes
58c4c12b04 restable. Set more sensible initial defaults + other small fixes 2011-01-11 08:39:00 +01:00
Jean-Francois Dockes
3bd39d893e Gui restable: add/remove columns 2010-12-24 15:48:44 +01:00
Jean-Francois Dockes
61348a7731 GUI: got rid of the sort parameters dialog and sort by mime type, replaced by 2 arrows in toolbar for sorting by date, ascending or descending 2010-12-17 13:18:13 +01:00