An example app providing an HTTP/REST/JSON front-end to bleve
An example app providing an HTTP/REST/JSON front-end to bleve. It provides a REST API and an HTML interface to:
Watch a video introduction to bleve-explorer.
go build -tags full
The -tags full
is optional, but includes all the optional components of bleve.
mkdir data
./bleve-explorer
This will use the default "data" dir for storing indexes. Once started you can access the web UI at http://localhost:8095/
Bleve explorer uses the handlers provided by the bleve.http package. The handlers are attached to the following URLs:
In the video introduction to bleve-explorer I ran a script to load a directory of JSON documents. Here is that script:
#!/bin/bash
for JsonFile in *.json
do
curl -X PUT http://localhost:8095/api/beer-search/$JsonFile -d @$JsonFile
done
Tabs showing operations available on an index
The monitoring capabilities