Sometimes (in particular if you're just starting out with Elasticsearch), you will see error messages like this in your log:

... Caused by: java.io.FileNotFoundException: /esdata/elasticsearch/elasticsearch-cluste

Read more




Lists (and other collections) are probably the most important things you'll deal with when programming with functional programming languages, and sorting is one of the most common operations on them. Here are some

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

These are some recurring patterns that may arise when creating tables and classes for use with Slick 2.x

Simplest possible DB Table

Read more




It's very common to make timestamp and datetime have defaults that evaluate to the current time (at the time of script execution).

Since Slick associates column types to Scala/Java types, it's not (as far as I

Read more




I've had this error bug me (pun unintended) for almost a whole day.

error sreenshot

Turns out it was because my options for Slick in application.conf looked like this:

```

E

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

Parsing a JSON String into a JSValue

TODO Json.parse

Converting a JSObject back into a String

TODO stringify and toJson

Building JSObject piece by

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

TODO INTRO

Wrapping something in a Future

```scala import scala.concurrent._ import scala.concurrent.ExecutionContext.Implicits.global

//note the type declarat

Read more




Sometimes when declaring classes and projections in Slick you get stuck with the following error message:

value tupled is not a member of object

This looks like it's caused by a [known bug](https://issues.scala-la

Read more




WIP ALERT - THIS IS A WORK IN PROGRESS

Some examples on how to use Elastic4s to talk to an elasticsearch server.

Aggregations

Performing an aggregation on a query:

Read more