Skip to content

Instantly share code, notes, and snippets.

View bertvan's full-sized avatar
💭
Het werkt op mijn systeem

Bert Vanpeteghem bertvan

💭
Het werkt op mijn systeem
View GitHub Profile
@bertvan
bertvan / gist:27318e9430202fa86210
Created March 5, 2015 20:57
Using "not filter" and "match_all" filter on nested objects (SENSE)
DELETE /test
POST /test
{
"mappings":
{
"movie": {
"properties": {
"title": { "type" : "string" },
"actors": {
@bertvan
bertvan / gist:a0b88edb3c03a9e6cf83
Last active August 29, 2015 14:16
Using "not filter" and "match_all" filter on nested objects
curl -XDELETE "http://localhost:9200/test"
curl -XPOST "http://localhost:9200/test" -d'
{
"mappings":
{
"movie": {
"properties": {
"title": { "type" : "string" },
"actors": {