https://github.com/whosonfirst/py-mapzen-whosonfirst-search
Python packages for talking to the Who's On First (spelunker) Elasticsearch index
https://github.com/whosonfirst/py-mapzen-whosonfirst-search
elasticsearch python spelunker whosonfirst
Last synced: 3 months ago
JSON representation
Python packages for talking to the Who's On First (spelunker) Elasticsearch index
- Host: GitHub
- URL: https://github.com/whosonfirst/py-mapzen-whosonfirst-search
- Owner: whosonfirst
- License: bsd-3-clause
- Created: 2015-07-30T14:03:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T22:37:51.000Z (over 4 years ago)
- Last Synced: 2025-01-17T20:16:27.656Z (4 months ago)
- Topics: elasticsearch, python, spelunker, whosonfirst
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# py-mapzen-whosonfirst-search
Python packages for talking to the Who's On First (spelunker) Elasticsearch index
## Install
```
sudo pip install -r requirements.txt .
```## IMPORTANT
This library is provided as-is, right now. It lacks proper
documentation which will probably make it hard for you to use unless
you are willing to poke and around and investigate things on your
own.## Tools
_This documentation is incomplete._
### wof-es-index
Index Who's On First documents in a Who's On First "spelunker" Elasticsearch endpoint.
```
./scripts/wof-es-index -h
Usage: wof-es-index [options] [files]Options:
-h, --help show this help message and exit
-s SOURCE, --source=SOURCE
The path to the directory you want to index. This flag is deprecated, please use -m(ode) directory) instead
-m MODE, --mode=MODE A valid indexing mode. Valid modes are: directory, filelist, files, meta, repo, sqlite.
-b, --bulk Index files in bulk mode (default is False)
--index=INDEX Where to write the records to (default is spelunker)
--host=HOST What host your search index lives (default is localhost)
--port=PORT What port your search index lives on (default is 9200)
--timeout=TIMEOUT Timeout in seconds for talking to you search index lives on (default is 600)
-v, --verbose Be chatty (default is false)
```## See also
* https://github.com/mapzen/whosonfirst-data
* https://github.com/mapzen/py-mapzen-whosonfirst-index
* https://github.com/mapzen/py-mapzen-whosonfirst-elasticsearch
* https://github.com/mapzen/es-whosonfirst-schema