D17284: RFC: Add unit test for splitting of numbers in TermGenerator

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Dec 1 17:12:09 GMT 2018


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

REVISION SUMMARY
  Numbers are not handled as numbers, but literal strings. This is useful
  for e.g. serial numbers ("1234-5678-90"), but less so for "real" numbers.
  
  Integral numeric Properties are not fed through the term generator, so
  these are handled correctly.
  
  TODO: Determine expected behaviour for searching, i.e. is it ok do return
  a document containing "12" when searching for "-12" and vice versa.

REPOSITORY
  R293 Baloo

BRANCH
  submit

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

AFFECTED FILES
  autotests/unit/engine/termgeneratortest.cpp

To: bruns, #baloo, #frameworks, ngraham, astippich
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181201/cdb3a8ec/attachment.html>


More information about the Kde-frameworks-devel mailing list