Created
May 24, 2013 19:14
-
-
Save rkroll/5645851 to your computer and use it in GitHub Desktop.
Counts of geocoded addresses
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get count of geocoded addresses: | |
curl -v 'http://cass3:9200/addresses/address/_count' -d '{ | |
"constant_score": { | |
"filter": { | |
"not": { | |
"missing": { | |
"field": "geo_point" | |
} | |
} | |
} | |
} | |
}' | |
Count of addresses without geocode: | |
curl -v 'http://cass3:9200/addresses/address/_count' -d '{ | |
"constant_score": { | |
"filter": { | |
"missing": { | |
"field": "geo_point" | |
} | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment