Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hi, Is There A Way To Query Some Tasks Ordered By A Scalar Metric? I Tried With:


Hi @<1570220858075516928:profile|SlipperySheep79> , the reason it's not sorting for you is that the last metrics are not stored by the title/series name itself (as it might contain characters unsupported by the database). Instead, you need to use the format last_metrics.<md5-encoded-title>.<md5-endoed-series>.<item>
Where:

  • md5 encoding is (in python): hashlib.md5(str("thestring").encode("utf-8")).hexdigest()
  • and <item> can be either value , min_value or max_value
  
  
Posted one year ago
154 Views
0 Answers
one year ago
one year ago