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")
Escape special characters +-&|!(){}[]^"~*?:\ - 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
Answered
Parsing Styles in MessageML

Does BDK 2.0 (Java) supports the reading of messages with styles? We are Having requirement to read Rich Text message ( having excels tables and images ) and display it same way in our custom UI. We also need to post it back to the chat room later point. Having trouble reading styles & retaining formatting. Also it fails when posting it on to chat room.

  
  
Posted 2 years ago
Votes Newest

Answers


The BDK itself doesn't assist with parsing/authoring of styles within messages - it supports receiving and sending the raw format to and from the REST APIs.

We don't recommend programatically trying to parse dynamic styles unless you're confident that the styles confirm to a number of expected formats. you also shouldn't directly re-send message content received on the datafeed back onto a new message as those formats differ (PresentationML vs MessageML).

The preferred approach is either removing formatting for parsing (to determine intent) or fixing the expected format. e.g. if it's an excel table, perhaps inform the user of the expected row/column layout first.

  
  
Posted 2 years ago
Yong Sheng Tan
39 × 2 Administrator
2K Views
1 Answer
2 years ago
2 years ago
Tags