This is an experimental feature of dataset and maybe removed in the future.
dataset [OPTIONS] indexer COLLECTION_NAME INDEX_MAP_FILENAME INDEX_NAME
Indexer creates a Blevesearch index with used used by the find command for searching a collection. The indexes support an elastic search like query language so in additional to general full text support it also includes the ability to scope results by fields defined in the index. The Bleve search packages supports full text search across many languages, time ranges and geo points.
Index names should end in .bleve
and the INDEX_MAP_FILE is a JSON file
organized as described in defining-indexes
document.
Our collection name in this example is “publications.ds”
dataset indexer publications.ds author-title.json author-title.bleve