Testing Spring WebClient with MockWebServer
To test WebClient code, we need a different setup than for RestTemplate based clients. In WebFlux applications the use of the OkHttp MockWebServer is recommended.
Read moreRocco Schulz's Posts
To test WebClient code, we need a different setup than for RestTemplate based clients. In WebFlux applications the use of the OkHttp MockWebServer is recommended.
Read moreIn a previous blog post I demonstrated how the vector datatype in Elasticsearch can be used to search words by their semantic meaning. In this post I will show how a reverse image search for paintings can be implemented using the same methods. Given a photo of a painting, we will use Elasticsearch to find other paintings which look similar.
Read moreHave you ever wondered why IntelliJ can't resolve properties in your application.properties or application.yml? Short answer: you'll need an annotation processor in your classpath.
Read moreFull-text search is one of Elasticsearch's strengths. However, what if we wanted to find similar documents based on something more abstract - like the meaning of a word or the style of writing? This is where Elasticsearch's dense vector field datatype and script-score queries for vector fields come into play.
Read moreData scientists often find themselves spending a lot of time with data acquisition and preparation, yet most tutorials start with ready to use datasets. This time we will start with nothing but a simple problem and gather the data with scrapy to provide insight into the process from data gathering to model creation.
Read more