appbaseio/mirage là dự án Data trên GitHub, viết chủ yếu bằng TypeScript, với 2.2k sao. :art: GUI for simplifying Elasticsearch Query DSL
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Get Mirage
a. Hosted
b. Chrome Extension
c. Appbase.io
d. Run with Docker
e. Elasticsearch Plugin (deprecated)
1. Mirage: Intro
The Elasticsearch query DSL supports 100+ query APIs ranging from full-text search, numeric range filters, geolocation queries to nested and span queries.
Mirage is a modern, open-source web based query explorer for Elasticsearch.
It offers a blocks based GUI for composing Elasticsearch queries and comes with an on-the-fly transformer to show the corresponding JSON query API of Elasticsearch.
2. Features
Mirage's GUI building blocks offer a smart way to creating queries. It uses the index's Elasticsearch mappings and the selected field's datatype to show only the applicable queries in the dropdown.
Mirage provides two ways to add compound query clauses,
Add Conditions allows adding additional clauses within the same query and
Nested Query allows adding a nested query clause.
Queries can be saved for later reuse. They can also be captured and shared by copying the URL.
See docs for any query from within the app.
3. Roadmap
Mirage works with any Elasticsearch 2.x, 5.x, 6.x and 7.x index currently. Below is the roadmap for query support.
✓ indicates queries already supported.
➕ indicates queries we would like to support and see contributions for.
❌ indicates queries that can't be supported currently.
Full-text Queries
Term Level Queries
Joining Queries
Geo Queries
Specialized Queries
Span Queries
✓ Match
✓ Term
✓ Nested
✓ GeoDistance
➕ MoreLikeThis
✓ SpanTerm
✓ Multi-match
✓ Terms
✓ HasChild
✓ GeoBoundingBox
➕ Template
➕ SpanMulti
✓ Query String
✓ Range
✓ HasParent
✓ GeoShape
❌ Script
✓ SpanFirst
✓ Simple Query String
✓ Exists
✓ ParentId
✓ GeoDistanceRange
➕ SpanNear
✓ Common Terms
✓ Missing
✓ GeoPolygon
➕ SpanOr
✓ Prefix
✓ GeoHashCell
➕ SpanNot
✓ Wildcard
➕ SpanContaining
✓ Regexp
➕ SpanWithin
✓ Fuzzy
✓ Ids
❌ Type
Besides broadening the query support, we would like to see Mirage support Elasticsearch v5.0.
4. Build Locally
$ npm install
$ bower install
$ npm start
This will start a local webserver running on port 3030 serving mirage locally.
Tests
$ npm test
will fire up the jasmine tests.
master branch: Elasticsearch Plugin
$ npm run build_es_plugin
chrome-extension branch: Chrome extension
$ npm run build_chrome_extension
5. How to Contribute
Find a query that can be supported from the roadmap.
Fork the mirage repo and update in "dev" branch.
Create the query files.
Build locally and run npm test.
Submit a PR!
6. Get Mirage
Mirage is available as a hosted app and as a chrome extension.
Use hosted app
or
Get the Chrome extension
Note: We're working on bringing this back.
or
appbase.io dashboard
Every app in appbase.io has a query explorer view, which uses mirage.
or
Run with docker
Works with Elasticsearch versions 1.x, 2.x, 5.x, 6.x and 7.x.
docker run -p 3030:3030 -d appbaseio/mirage
CORS settings: To make sure you enable CORS settings for your ElasticSearch instance, add the following lines in the ES configuration file.
[Deprecated] Works with Elasticsearch versions 1.x and 2.x. Site plugins have been disabled starting v5.0. We recommend running mirage with docker instead.
plugin install appbaseio/mirage
Note: Elasticsearch has a CORS header issue with v2.3.0, use v2.3.2 and above.
After installing the plugin, start the elasticsearch service and visit the following URL to access it.
http://127.0.0.1:9200/_plugin/mirage
Note: If you use Elasticsearch from a different port, the URL to access and the http.cors.allow-origin value in the configuration file would change accordingly.
Mirage can be used along with ⊞ DejaVu to browse data and perform CRUD operations inside an Elasticsearch index.
appbaseio/mirage có 2.2k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/appbaseio/mirage. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
appbaseio/mirage có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho appbaseio/mirage. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
appbaseio/mirage có trang demo không?
Dự án có trang chủ ở http://opensource.appbase.io/mirage. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
appbaseio/mirage là gì?
appbaseio/mirage (appbaseio/mirage) là dự án TypeScript trên GitHub. Theo mô tả gốc: :art: GUI for simplifying Elasticsearch Query DSL
appbaseio/mirage so với các dự án Data khác thế nào?
appbaseio/mirage được TopGit xếp vào nhóm Data, với 2.2k sao GitHub và viết bằng TypeScript. Xem trang chủ đề Data trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Cùng nhóm Data còn repo nào?
appbaseio/mirage thuộc nhóm Data trên TopGit, cùng 6 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về appbaseio/mirage ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/appbaseio/mirage là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về mirage?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về mirage.