sourcegraph / appdash

Application tracing system for Go, based on Google's Dapper.
https://sourcegraph.com
Other
1.72k stars 137 forks source link

Fuzzy search fails on keys containing dots. #24

Closed slimsag closed 9 years ago

slimsag commented 9 years ago

I just tested to ensure fuzzy searching works with most HTTP-based metadata, and it looks like it's broken when keys contain periods e.g. Response.StatusCode. It seems to be because Fuse identifies those keys as accessors into sub-data. I.e. obj.Response.StatusCode in JS.

Probably need to replace periods in the keys with underscores, e.g. Response_StatusCode, so that Fuse doesn't misinterpret our intent.