├── .gitignore ├── CNAME ├── README.md ├── assets ├── axe.png ├── backbone.localStorage.js ├── codemirror-addons │ ├── comment │ │ ├── comment.js │ │ └── continuecomment.js │ ├── dialog │ │ ├── dialog.css │ │ └── dialog.js │ ├── display │ │ ├── fullscreen.css │ │ ├── fullscreen.js │ │ └── placeholder.js │ ├── edit │ │ ├── closebrackets.js │ │ ├── closetag.js │ │ ├── continuelist.js │ │ ├── matchbrackets.js │ │ ├── matchtags.js │ │ └── trailingspace.js │ ├── fold │ │ ├── brace-fold.js │ │ ├── comment-fold.js │ │ ├── foldcode.js │ │ ├── foldgutter.css │ │ ├── foldgutter.js │ │ ├── indent-fold.js │ │ └── xml-fold.js │ ├── hint │ │ ├── anyword-hint.js │ │ ├── css-hint.js │ │ ├── html-hint.js │ │ ├── javascript-hint.js │ │ ├── pig-hint.js │ │ ├── python-hint.js │ │ ├── show-hint.css │ │ ├── show-hint.js │ │ ├── sql-hint.js │ │ └── xml-hint.js │ ├── lint │ │ ├── coffeescript-lint.js │ │ ├── css-lint.js │ │ ├── javascript-lint.js │ │ ├── json-lint.js │ │ ├── lint.css │ │ └── lint.js │ ├── merge │ │ ├── dep │ │ │ └── diff_match_patch.js │ │ ├── merge.css │ │ └── merge.js │ ├── mode │ │ ├── loadmode.js │ │ ├── multiplex.js │ │ ├── multiplex_test.js │ │ └── overlay.js │ ├── runmode │ │ ├── colorize.js │ │ ├── runmode-standalone.js │ │ ├── runmode.js │ │ └── runmode.node.js │ ├── scroll │ │ └── scrollpastend.js │ ├── search │ │ ├── match-highlighter.js │ │ ├── search.js │ │ └── searchcursor.js │ ├── selection │ │ ├── active-line.js │ │ └── mark-selection.js │ ├── tern │ │ ├── tern.css │ │ ├── tern.js │ │ └── worker.js │ └── wrap │ │ └── hardwrap.js ├── codemirror.css ├── codemirror.js ├── jquery.js ├── jshint.js ├── json2.js ├── jsonlint.js ├── knockback.js ├── main.js ├── style.css └── tiny_grid.png └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | _site/* 2 | _theme_packages/* 3 | 4 | Thumbs.db 5 | .DS_Store 6 | 7 | !.gitkeep 8 | 9 | .rbenv-version 10 | .rvmrc 11 | 12 | *~ 13 | \#*# 14 | .\#*# 15 | .#* -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | elastichammer.exploringelasticsearch.com -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Elastic-Hammer 2 | ## Elastic-search Front-End 3 | 4 | A web front-end for elasticsearch. Runs directly in the browser using localstorage. To use, install it as a plugin 5 | 6 | `./plugin -install andrewvc/elastic-hammer` 7 | 8 | ### Features 9 | 10 | * Auto-checks JSON as you type 11 | * Compact, auto-sizing layout, for maximum information density 12 | * Displays image URLs as actual images, URLs in search results as links 13 | * Path based API detection enabling automatic smart settings during use 14 | * Cross Platform 15 | * Uses HTML5 localstorage to keep your request history 16 | 17 | ### Installing as an ElasticSearch plugin 18 | 19 | Simply run (in your elasticsearch bin folder) 20 | 21 | `./plugin -install andrewvc/elastic-hammer` 22 | 23 | To use it visit `http://yourelasticsearchserver/_plugin/elastic-hammer/` 24 | 25 | To upgrade the plugin run: 26 | 27 | `./plugin -remove elastic-hammer; ./plugin -install andrewvc/elastic-hammer` 28 | 29 | ### Screenshot 30 | 31 | ![Screenshot](https://www.evernote.com/shard/s46/sh/691eda2f-ef89-4578-8a8a-eb73efd439c4/4efdcec6693f6bc84b47913bdf47d046/deep/0/Elastic-Hammer.png) 32 | 33 | ### In Development 34 | 35 | * Improved output formatting 36 | * Custom output formatters 37 | * Automatic index detection 38 | -------------------------------------------------------------------------------- /assets/axe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewvc/elastic-hammer/16a05e66af902b8d76d8985b29a81e73a3b03eac/assets/axe.png -------------------------------------------------------------------------------- /assets/backbone.localStorage.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Backbone localStorage Adapter 3 | * Version 1.1.5 4 | * 5 | * https://github.com/jeromegn/Backbone.localStorage 6 | */ 7 | (function (root, factory) { 8 | if (typeof exports === 'object') { 9 | module.exports = factory(require("underscore"), require("backbone")); 10 | } else if (typeof define === "function" && define.amd) { 11 | // AMD. Register as an anonymous module. 12 | define(["underscore","backbone"], function(_, Backbone) { 13 | // Use global variables if the locals are undefined. 14 | return factory(_ || root._, Backbone || root.Backbone); 15 | }); 16 | } else { 17 | // RequireJS isn't being used. Assume underscore and backbone are loaded in 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 38 | 39 | 40 | 41 |
42 |

elastic hammer

43 | 50 |
51 | 52 | 53 | 54 | 55 | 56 |
57 |
58 |
59 | 60 |
61 | 68 | 69 | / 70 | 71 |
72 | 73 |
74 |
75 | 76 |
77 | 78 | » Reformat Request 79 | 80 |
81 |
82 |
83 | 84 |
85 | 86 |
87 | 88 | 89 | Executing Request... 90 | 91 | 92 |
93 | 94 |
95 |
96 | 97 | 98 |
99 |
100 |
101 |
102 |
103 |
104 | 105 | 183 | 184 | 195 | 196 | 197 | 198 | 199 | --------------------------------------------------------------------------------