1
0
Commit graph

10 Commits

Autor SHA1 Nachricht Datum
eef0fae137 shared,gui,cli: Fix intra-file ordering for content search results
group_concat() does not preserve order of the ORDRE BY rank,
making the ordering quite meaningless for pages inside a file.

The recently introduced combobox to filter on a per file basis
should anyway be prefered than any kind of grouping in queries.

So we just remove the groupings here.

"All files" in the previews tab thus should show the best results
first now, from any files part of the result set.

A GUI option to sort by page instead of rank can be considered.
2022-08-23 23:44:47 +02:00
51ead5e171 cli: CommandSearch: Improve error handling, helptext fixes 2022-06-04 17:09:26 +02:00
407ee1210c gui: Perform content search and path search by default
Search for content and paths. Merge lone words for content search.

This behaviour is much more natural than typing "c:()".
2022-01-03 23:14:55 +01:00
f67b7bbb21 Resolve Qt deprication: endl -> Qt::endl 2021-06-12 22:55:56 +02:00
e97551be97 Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
2b97f4a737 fixed: missing return value for some command handlers 2020-05-24 15:37:47 +02:00
f64362ac63 cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
cff481a57e Refactor search queries: Introduced QSSQuery
Purpose is to seperate certain logic from SQLite and generalize it more.
Even though we only have Sqlite atm, in general the database layers
must be stupid as possible, while QSSQuery should do most of the hard work.

Fixes in Tokenizer logic.
Switched to C++17.
2019-08-18 00:25:21 +02:00
cfe30ae5fd CommandSearch: Begin basic functionality (prints filename of result) 2019-04-22 23:11:28 +02:00
6b94b8f619 Begin 'shared' project to share code between cli and gui 2019-04-20 23:31:14 +02:00