Skip to content

Commit

Permalink
- explicit add of revenue field in invoice mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
royrusso committed Jan 10, 2015
1 parent b71582b commit 25177d8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion populate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,19 @@ curl -s -XDELETE 'http://localhost:9200/november_2014_invoices' > /dev/null
curl -s -XDELETE 'http://localhost:9200/december_2014_invoices' > /dev/null
curl -s -XPOST 'http://localhost:9200/november_2014_invoices' -d'{}'
echo
curl -s -XPOST 'http://localhost:9200/december_2014_invoices' -d'{}'
curl -s -XPOST 'http://localhost:9200/december_2014_invoices' -d'
{
"mappings" :
{
"invoice" :
{
"properties" :
{
"revenue" : { "type" : "integer" }
}
}
}
}'

echo

Expand Down

0 comments on commit 25177d8

Please sign in to comment.