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
Profile picture
Olivier Poupeney
Administrator Moderator
0 Questions, 2 Answers
  Active since 21 May 2021
  Last activity one year ago

Reputation

10

Badges 1

Editor
0 Extension application reloads after downloading file programatticaly

Hi Ankit,

Sometimes browsers (or embedded browsers in a desktop app) have different behaviours that we cannot really fix. The best is to try an alternative or workaround. Did you try to not add the anchor element to the body itself but to an intermediary hidden iFrame element?

Olivier.

2 years ago
0 Server-sent events

Hi Graham, publishing an event to suscribers in a class extending SsePublisher is pretty straightforward, you have to do the following:

SimpleEvent event = new SimpleEvent();
event.setId("myId");
event.setType("event1");
event.setPayload("This event occurred at " + LocalTime.now().toString());
this.publishEvent(event);

To suscribe to this event, the client app must implement the EventSource class such as:

const evtSource = new EventSource("http://lo...
3 years ago