Commit Graph
263 Commits
Author SHA1 Message Date
Jean-Francois Dockes d184361e79 Add %u spec to reslist paragraph format to output either local file path (with file:// stripped) or url). Fixes issue #254 2015-06-06 16:08:54 +02:00
Jean-Francois Dockes bb3e6586fb query parser would crash on dir: query containing slashes 2015-03-01 14:26:29 +01:00
Jean-Francois Dockes 9873407ac4 Fix parser to compile with bison 3 2015-02-16 08:43:40 +01:00
Jean-Francois Dockes b605dcfb65 parser: fix shift/reduce conflicts and errors by setting precedence for '(' and '-' 2015-01-29 17:22:07 +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 c28b1f91cc compensate for off-by-3 error when setting webkit font size with QWebSettings. Experiment (ifndefed) with using css instead 2014-12-01 14:08:13 +01:00
Jean-Francois Dockes c11453fc27 Treat the "open parent" link click more like the right-click menu entry for open parent. The latter is still different because it opens the enclosing document, not necessarily a folder if the doc result is embedded. But they now behave the same if the parent is a folder 2014-07-19 15:31:03 +02:00
Jean-Francois Dockes ad2576c8f7 Gui result list: add %P substitution for parent folder and F link target for opening the parent folder 2014-07-17 10:46:15 +02: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 bd100b61cb GUI multiple clicks crash: make sure the GUI cant reenter the db 2013-11-09 11:22:08 +01:00
medoc 30e12ba83d fix buffer overflow in test driver 2013-08-28 22:12:30 +02:00
Jean-Francois Dockes a13c582dce dont show snippets link in history links (makes no sense as there are no query terms...) 2013-06-07 08:29:19 +02: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 a1b7018cfd Fix problems which occurred when using functions like open-parents with multiple indexes containing identical paths (udis) 2013-05-25 11:26:57 +02:00
Jean-Francois Dockes a7728ceb91 changed the mime handler cache key (was the mime type), to avoid having multiple copies of the same filter when applied to different mime types. This reduces a lot the number of processes during indexing, with no impact on performance 2013-04-25 18:18:48 +02:00
Jean-Francois Dockes 2b80c77c23 Add possibility to display a list of sub-documents for a given result 2013-04-24 16:33:53 +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 ext:(%22) 321978bfea replace atol with atoll to fix result size display bug. Also use atoll for time conversions, 2032 is coming... 2013-04-04 20:01:31 +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 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 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 4e1fd6c854 typo 2013-02-27 14:35:39 +01:00
Jean-Francois Dockes 3abfd00635 improved detection of incomplete snippets lists 2013-02-26 15:49:36 +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 807fbab91f compilation error with STRIPCHARS set 2013-01-13 09:02:48 +01:00
Jean-Francois Dockes a4640c0a03 make sure we only show the automatic missing helpers dialog once 2013-01-10 09:30:05 +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 5a7a1b232e fix test driver compile 2013-01-04 10:05:07 +01:00
Jean-Francois Dockes 02b9b26e74 packaging ok with lib/recoll/librecoll.so... on debian fedora and suse 2012-12-30 17:31:00 +01:00
Jean-Francois Dockes d2f7f11715 Use dynamic lib for shared recoll code 2012-12-29 14:27:01 +01:00
Jean-Francois Dockes 4ad89d1c6a use const rclconfig 2012-11-28 13:20:18 +01:00
Jean-Francois Dockes 17f8b652d4 Support explicit HTML markup in fields when the markup="html" attribute is present 2012-10-25 14:22:20 +02:00
Jean-Francois Dockes 2a833536d5 handle application tag when looking for icon, and add icons for books and book chapters (epub, chm, info) 2012-10-23 16:34:07 +02:00
Jean-Francois Dockes de5763f663 Using recoll as an embedded document opener for the unity lens was broken 2012-10-20 09:25:35 +02:00
Jean-Francois Dockes 2972ebc222 get the kio to build (and works on suse12.2) + compiler warnings 2012-10-18 14:42:25 +02:00
Jean-Francois Dockes 816980a1c4 implemented advanced search history feature 2012-10-16 13:37:56 +02:00
Jean-Francois Dockes 382ae1f718 correctly handle return from Db::getDoc(udi... 2012-10-12 13:37:54 +02:00
Jean-Francois Dockes d84481e38a insert message when snippets risk being incomplete 2012-10-08 14:26:53 +02:00
Jean-Francois Dockes ce52b602c3 add snippets link to default link bundle 2012-10-08 14:25:17 +02:00
Jean-Francois Dockes 768bc54591 Adjust messages + plaintorich return false if no actual match found 2012-10-08 14:24:25 +02:00
Jean-Francois Dockes f624d3b10e doc 2012-10-06 21:04:03 +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 d5a6105795 implement mime exceptions to "use desktop open" so that we can use evince and pass page and search string parameters for pdf,ps and dvi even when all other mime types are passed to xdg-open 2012-10-04 09:51:29 +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 44ab1963f9 dont highlight snippet page number matching search term 2012-10-02 11:52:44 +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