Skip to content

Instantly share code, notes, and snippets.

View ogirardot's full-sized avatar

Olivier Girardot ogirardot

View GitHub Profile
@ogirardot
ogirardot / gist:5386898
Last active December 16, 2015 05:49 — forked from hlassiege/gist:5383739
curl -X DELETE localhost:9200/test
curl -X PUT localhost:9200/test -d '
{
"settings" : {
"index" : {
"analysis" : {
"analyzer" : {
"myanalyzer" : {
"type" : "custom",
"tokenizer" : "lowercase",
@ogirardot
ogirardot / trait-conflictor.scala
Last active December 12, 2015 00:28
Simple gist to show problem when using companion object extending trait and sub-class using the same trait
object MyApp extends App {
val b = new B()
}
trait Conflictor {
val log = "reduction"
}
class A {}