What's wrong with this?
q=cats&bq={!edismax qf=title v=$q}
Well it turns out that the local params carries the external params with it. So the bq will get applied to itself, resulting in "Infinite Recursion Errors".
ssh username@host "echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/authorized_keys" |
# Remove old data | |
curl -XDELETE "http://localhost:9200/shapes" | |
curl -XDELETE "http://localhost:9200/businesses" | |
# Create shapes index, with mapping | |
curl -XPOST "http://localhost:9200/shapes/" -d ' | |
{ | |
"shapes" : { | |
"mappings" : { | |
"municipalities" : { |