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

Authored by bruns on Dec 1 2018, 5:12 PM.

Details

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.

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Dec 1 2018, 5:12 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptDec 1 2018, 5:12 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Dec 1 2018, 5:12 PM
ngraham accepted this revision.Dec 2 2018, 8:51 PM
This revision is now accepted and ready to land.Dec 2 2018, 8:51 PM
This revision was automatically updated to reflect the committed changes.