looqs/shared
Albert S a6ddcef0c0 shared: LooqsQuery: Fix logic of implicit AND booleans. Add 'limit:' support
Add implicit AND booleans at the end.

This fixes a number of issues in LooqsQuery:

(1) A query like a b c p:(something) would fail, because
a b c get merged into one word. This happens at the end.

lonewords are special and do not become a token immediatly. So previous
logic to add implicit ANDs does not apply.

(2) Negations were also broken with lonewords.

(3) The TokenType enum fields were too narrow to be useful for the bitmask

Independent of that, add support for 'limit:'
2022-06-05 14:39:57 +02:00
..
migrations shared: Begin db migration logic 2022-04-15 21:06:56 +02:00
common.cpp shared: shared.pro: Add git commit id to build 2022-06-04 17:09:26 +02:00
common.h shared: common: Add versionText() function 2022-06-04 17:09:26 +02:00
concurrentqueue.cpp shared: Begin basic ConcurrentQueue 2022-04-15 21:06:56 +02:00
concurrentqueue.h gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
databasefactory.cpp Rename leftovers that were forgotten in 645903ed6b 2022-04-24 19:40:43 +02:00
databasefactory.h DatabaseFactory: Move to /shared 2022-04-15 21:06:56 +02:00
dbmigrator.cpp shared: Begin db migration logic 2022-04-15 21:06:56 +02:00
dbmigrator.h shared: Begin db migration logic 2022-04-15 21:06:56 +02:00
defaulttextprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
defaulttextprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
dirscanworker.cpp shared: DirscanWorker: Use WildcardMatcher to ignore paths 2022-06-04 17:09:26 +02:00
dirscanworker.h shared: DirscanWorker: Use WildcardMatcher to ignore paths 2022-06-04 17:09:26 +02:00
encodingdetector.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
encodingdetector.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
filedata.h move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
filesaver.cpp shared: FileSaver: Adjust message as it's confusing on updates 2022-06-04 17:09:26 +02:00
filesaver.h FileSaver: Don't add files in blacklisted paths 2022-06-04 17:09:26 +02:00
filescanworker.cpp shared: FileScanWorker: Catch correct exception type 2022-04-24 15:52:20 +02:00
filescanworker.h gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
indexer.cpp shared: Indexer: Use WildcardMatcher to ignore paths 2022-06-04 17:09:26 +02:00
indexer.h gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
indexsyncer.cpp shared: IndexSyncer: Support cancellation 2022-06-04 17:09:26 +02:00
indexsyncer.h shared: IndexSyncer: Support cancellation 2022-06-04 17:09:26 +02:00
logger.cpp Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
logger.h Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
looqsgeneralexception.cpp Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
looqsgeneralexception.h Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
looqsquery.cpp shared: LooqsQuery: Fix logic of implicit AND booleans. Add 'limit:' support 2022-06-05 14:39:57 +02:00
looqsquery.h shared: LooqsQuery: Fix logic of implicit AND booleans. Add 'limit:' support 2022-06-05 14:39:57 +02:00
nothingprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
nothingprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odsprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odsprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odtprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odtprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pagedata.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pagedata.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
paralleldirscanner.cpp shared: ParallelDirScanner: Delete DirScanWorkers after they are done 2022-06-04 17:09:26 +02:00
paralleldirscanner.h shared: ParallelDirScanner: Delete DirScanWorkers after they are done 2022-06-04 17:09:26 +02:00
pdfprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pdfprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
processor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
processor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
sandboxedprocessor.cpp shared: SandboxedProcessor: Fix scope issue with readablePathLocation 2022-06-04 17:09:26 +02:00
sandboxedprocessor.h shared: SandboxedProcessor: Perform MIME-type detection 2022-06-04 17:09:26 +02:00
searchresult.h search: Avoid redundant results by placing pages into vector instead of returning searchresult for each page 2019-04-26 15:31:42 +02:00
shared.pro shared: Introduce IndexSyncer, containing logic of cli/CommandUpdate 2022-06-04 17:09:26 +02:00
sqlitedbservice.cpp shared: SqliteDbService: Changed getFiles() return to unsigned int 2022-06-04 17:09:26 +02:00
sqlitedbservice.h shared: SqliteDbService: Changed getFiles() return to unsigned int 2022-06-04 17:09:26 +02:00
sqlitesearch.cpp shared: sqlitesearch: Avoid joining content table more than once 2022-04-24 15:52:20 +02:00
sqlitesearch.h Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
tagstripperprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
tagstripperprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
token.cpp Refactor search queries: Introduced QSSQuery 2019-08-18 00:25:21 +02:00
token.h shared: LooqsQuery: Fix logic of implicit AND booleans. Add 'limit:' support 2022-06-05 14:39:57 +02:00
utils.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
utils.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
wildcardmatcher.cpp shared: Introduce WildcardMatcher 2022-06-04 17:09:26 +02:00
wildcardmatcher.h shared: Introduce WildcardMatcher 2022-06-04 17:09:26 +02:00