Page MenuHome

String Search: Add a weight parameter
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Dec 13 2021, 6:53 PM.

Details

Summary

This builds off of f951aa063f7, adding a weight parameter which can be
used to change the order of items when they have the same match score.
In the future, if string searching gets a C++ API, we could use an
optional parameter for the weight, since it is not used yet.

I tested this by adding it to D8286 temporarily in a simple situation.

Diff Detail

Repository
rB Blender
Branch
string-search-weight (branched from master)
Build Status
Buildable 19398
Build 19398: arc lint + arc unit

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Dec 13 2021, 6:53 PM
Hans Goudey (HooglyBoogly) created this revision.
This revision is now accepted and ready to land.Dec 13 2021, 8:38 PM