All Projects → iridakos → Elman

iridakos / Elman

Licence: mit
Full text searching Linux man pages with Elasticsearch 🐧

Programming Languages

ruby
36898 projects - #4 most used programming language
script
160 projects

Projects that are alternatives of or similar to Elman

Srchx
A standalone lightweight full-text search engine built on top of blevesearch and Go with multiple storage (scorch, boltdb, leveldb, badger)
Stars: ✭ 118 (+14.56%)
Mutual labels:  full-text-search, elasticsearch
Fess
Fess is very powerful and easily deployable Enterprise Search Server.
Stars: ✭ 561 (+444.66%)
Mutual labels:  full-text-search, elasticsearch
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+7771.84%)
Mutual labels:  full-text-search, elasticsearch
Cccatalog Api
Note: Project is discontinued. The Creative Commons Catalog API allows programmatic access to search for CC-licensed and public domain digital media.
Stars: ✭ 97 (-5.83%)
Mutual labels:  elasticsearch
Elasticsearch
🌐 This application illustrates and demonstrates use of ElasticSearch Java API in the backend
Stars: ✭ 97 (-5.83%)
Mutual labels:  elasticsearch
Adminer Custom
Customizations for Adminer, the best database management tool written in PHP.
Stars: ✭ 99 (-3.88%)
Mutual labels:  elasticsearch
Heygidi
Visualization of the most used words in "Gündem" category at Hurriyet.com.tr within the years.
Stars: ✭ 102 (-0.97%)
Mutual labels:  elasticsearch
Elkstack
The config files and docker-compose.yml files of Dockerized ELK Stack
Stars: ✭ 96 (-6.8%)
Mutual labels:  elasticsearch
Elasticsearch Analysis Openkoreantext
Korean analysis plugin that integrates open-korean-text module into elasticsearch.
Stars: ✭ 101 (-1.94%)
Mutual labels:  elasticsearch
Kubernetes Elastic Stack
How to set up the Elastic stack on Kubernetes
Stars: ✭ 98 (-4.85%)
Mutual labels:  elasticsearch
Punt
Punt is a tiny and lightweight daemon which helps ship logs to Elasticsearch.
Stars: ✭ 98 (-4.85%)
Mutual labels:  elasticsearch
Elastiquill
Modern blog engine running on Elasticsearch
Stars: ✭ 98 (-4.85%)
Mutual labels:  elasticsearch
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (-2.91%)
Mutual labels:  elasticsearch
Logisland
Scalable stream processing platform for advanced realtime analytics on top of Kafka and Spark. LogIsland also supports MQTT and Kafka Streams (Flink being in the roadmap). The platform does complex event processing and is suitable for time series analysis. A large set of valuable ready to use processors, data sources and sinks are available.
Stars: ✭ 97 (-5.83%)
Mutual labels:  elasticsearch
Windows Installers
Windows installers for the Elastic stack
Stars: ✭ 101 (-1.94%)
Mutual labels:  elasticsearch
Logtrail
Kibana plugin to view, search & live tail log events
Stars: ✭ 1,343 (+1203.88%)
Mutual labels:  elasticsearch
Cloud On K8s
Elastic Cloud on Kubernetes
Stars: ✭ 1,372 (+1232.04%)
Mutual labels:  elasticsearch
Awesome Cloud Security
Curated list of awesome cloud security blogs, podcasts, standards, projects, and examples.
Stars: ✭ 98 (-4.85%)
Mutual labels:  elasticsearch
Elasticsearch
Use SQL statements to query elasticsearch
Stars: ✭ 98 (-4.85%)
Mutual labels:  elasticsearch
Mysqlbeat
Fully customizable Beat for MySQL server - this beat will ship the results of any query defined in the config file to Elasticsearch.
Stars: ✭ 99 (-3.88%)
Mutual labels:  elasticsearch

elman 🐧

A script for full text searching Linux man pages with Elasticsearch.

It has been developed to play around with the idea described in this post.

elman demo gif

How does it work

Given that you have a running Elasticsearch instance, the script creates an index named elman and feeds it with the man pages of your Linux system using the apropos . command to get all available pages. Then you can use it to full text search the man pages as simple as:

elman concatenate files

Installation

It is a Ruby script so you must have the language installed.

Clone this repository and from withing the script's directory execute:

bundle

to install the elasticsearch gem and its dependencies.

Note

If you don't have bundler on your system, install it with:

gem install bundler

Setup the Elasticsearch index

To setup the index and load the man pages use:

./elman -s

or

./elman --setup

Changing defaults

The script creates a file under your home directory named .elman.yml. Change its contents to match your setup:

---
:elasticsearch:
  :host: localhost
  :port: '9200'
  :search_results_size: 10

Usage

Full text search

To search the man pages, use:

elman <query>

Example:

elman edit images

TODO

  • Improve search definition

Contributing

  1. Fork it ( https://github.com/iridakos/elman/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

This tool is open source under the MIT License terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].