D28924: [SearchStore] Allow querying exact matches for non-properties

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Apr 17 20:33:40 BST 2020


bruns created this revision.
bruns added reviewers: Baloo, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Exact matches were only possible for prefixed properties, e.g.
  filename=test or tag=test, but content matches were always
  prefix queries. Allow to control the query type, i.e. content=test
  (exact) or content:test (prefix).

TEST PLAN
  $> echo "test" > doc1.txt
  $> echo "testing" > doc2.txt
  $> baloosearch content:test  -> doc1, doc2
  $> baloosearch content=test  -> doc1
  $> baloosearch content=testing  -> doc2

REPOSITORY
  R293 Baloo

BRANCH
  submit

REVISION DETAIL
  https://phabricator.kde.org/D28924

AFFECTED FILES
  src/lib/searchstore.cpp

To: bruns, #baloo, ngraham
Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200417/b4d4d510/attachment.html>


More information about the Kde-frameworks-devel mailing list