D21866: [TermGenerator] Leave single term phrases out of the PositionDB

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Jun 17 00:57:47 BST 2019


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

REVISION SUMMARY
  Any search phrase consisting of a single term only can be handled by
  the PostingDB alone, and a document with single terms can never match
  a real phrase (consisting a multiple terms).
  
  Storing these terms also in the PositonDB just wastes space, so remove
  these from the DB, and delegate single term phrases to the PostingDB.
  
  While the document content and even filenames (basename + suffix) consist
  of multiple terms typically, folder names, tags and properties are often
  a single term.

TEST PLAN
  ctest
  ctest -R querytest

REPOSITORY
  R293 Baloo

BRANCH
  master

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

AFFECTED FILES
  src/engine/termgenerator.cpp
  src/engine/transaction.cpp

To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, 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/20190616/6bb9046d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list