7baf144c69
Fix columns in the search results.
2024-02-06 18:13:57 +01:00
a77a704d48
Fix getting only distinct rows when querying folders through the search engine
2023-07-08 19:11:59 +02:00
e4dbe3d62e
Support filtering by since/before dates in the search engine
...
e.g. added>7 (recent content since 7 days ago) or added<30 (content added before the last 30 days)
2023-05-31 22:11:47 +02:00
6d457be912
Improve search engine with new operators and new fields
2023-05-21 20:29:13 +02:00
f2bf53ce5b
Add new fields to the DB and make then available to be used in the apps
2023-05-12 16:59:23 +02:00
ceb34a1409
Extract sql queries creation for the search engine so we can reuse them
2023-04-07 10:49:09 +02:00
f803b54f2e
Add support for boolean folder fields
2021-01-14 12:25:24 +01:00
260f538de3
Use an explicit constructor for TreeNode
...
List initialization ended using movable constructors which surprisingly caused data troubles in release mode, at least in VC2019 compiler. The tree being messed up caused crashes while SQL was generated.
I have no explanation for it.
2021-01-14 08:49:48 +01:00
f09c5955d8
Remove space and atWord tokens
...
`atWord` wasn't used at all and spaces should be eaten by the lexer
And added `unspecified` token
2021-01-14 08:39:16 +01:00
a777aa3fe8
Replace lexertl with a custom lexeter implementation
...
QueryLexeter does not parse "atWord" because I couldn't find what it is used for.
2021-01-12 18:56:59 +01:00
8efb9912ee
Use concatenation, rather than ostringstream
2021-01-08 15:56:16 +01:00
4990093e3d
Remove c++17 dependency
2021-01-08 15:56:16 +01:00
7ccb338455
Apply clang-format
2021-01-08 15:51:59 +01:00
9a660350d2
Add some documentation and attribution to the query parser
2021-01-08 15:51:59 +01:00
5fa7da1e46
Add folder into the query parser
2021-01-08 15:41:29 +01:00
4a50d438d0
Add query parser class
2021-01-08 15:41:28 +01:00