-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126227/
-----------------------------------------------------------

(Updated Dec. 15, 2015, 5:28 a.m.)


Status
------

This change has been marked as submitted.


Review request for Baloo and Vishesh Handa.


Changes
-------

Submitted with commit 83fda1c75ff1a6b73b582e2bd05bfb9c70b49afa by Weng Xuetian 
to branch master.


Repository: baloo


Description
-------

Test with
- baloosearch 'modified=>...' -d $HOME
- baloosearch 'modified=>...'

This two queries should return same result since I only index home folder. But 
they are not, because result from mtimedb is not sorted.

In some other rare case (On my machine, regularly happens to torrent downloaded 
files), it could also return duplicate result. not sure if this should be 
considered as a indexer bug.

Sort and remove duplication from the result in VectorPostingIterator when 
requesting first result with next().


Diffs
-----

  autotests/unit/engine/mtimedbtest.cpp e38022d 
  src/engine/mtimedb.h 1dc1cb9 
  src/engine/mtimedb.cpp f7283b5 

Diff: https://git.reviewboard.kde.org/r/126227/diff/


Testing
-------

No more duplicate result or missing result.


Thanks,

Xuetian Weng

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to