D28615: Discard duplicate results during contact completion

Daniel Vrátil noreply at phabricator.kde.org
Mon Apr 6 11:40:30 BST 2020


dvratil added a comment.


  I think any filtering/deduplication should happen in Akonadi Search here - since we are able to store structured data (e.g. split the name and the address into two different fields), Xapian can perform clever deduplication at query time, rather than client code (libkdepim) having to do expensive address parsing for each result.
  
  We can even return the data structured, like a tuple (name, address, relevance) to make it easier for client code to aggregate the results.
  
  Also the code should be made asynchronous so we can query much more results and leave it up to the client to drop what they don't need.

REPOSITORY
  R42 Akonadi Search

BRANCH
  master

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

To: dvratil, #kde_pim, dfaure
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200406/9c85590d/attachment.html>


More information about the kde-pim mailing list