Skip to content

Instantly share code, notes, and snippets.

@mazz
Created November 27, 2017 00:50
Show Gist options
  • Save mazz/bba2176c5114975e7b93eada7cfed054 to your computer and use it in GitHub Desktop.
Save mazz/bba2176c5114975e7b93eada7cfed054 to your computer and use it in GitHub Desktop.
searchex
~/src/elixir/searchex (master ✘)✹ ᐅ ./searchex query genesis 'joseph'
Collection 'sample/genesis' Query 'joseph'
+----+-------+-------+-----------+-----------+---------------------------------+
| ID | Docid | Score | Startbyte | Doclength | Body |
+----+-------+-------+-----------+-----------+---------------------------------+
| 1 | 62294 | 0.856 | 141268 | 197 | Then there passed by Midianites |
| 2 | c1d12 | 0.749 | 137626 | 257 | These are the generations of Ja |
| 3 | dd0ad | 0.749 | 140563 | 145 | And it came to pass, when Josep |
| 4 | efad7 | 0.749 | 147385 | 161 | And he left all that he had in |
| 5 | 2c19f | 0.749 | 158406 | 172 | And Pharaoh called Joseph's nam |
| 6 | c44f5 | 0.749 | 158578 | 170 | And Joseph was thirty years old |
| 7 | 393bb | 0.749 | 160744 | 195 | And Joseph was the governor ove |
| 8 | 25424 | 0.749 | 167416 | 82 | And the man did as Joseph bade; |
| 9 | 78036 | 0.749 | 174386 | 207 | Then Joseph could not refrain h |
| 10 | 4549b | 0.749 | 174663 | 153 | And Joseph said unto his brethr |
| 11 | 47cbd | 0.749 | 174816 | 149 | And Joseph said unto his brethr |
| 12 | 3c5be | 0.749 | 177874 | 178 | And they told him all the words |
| 13 | 88447 | 0.749 | 184170 | 185 | And Joseph gathered up all the |
| 14 | a96c0 | 0.749 | 184638 | 230 | And they brought their cattle u |
| 15 | 60c93 | 0.749 | 196731 | 171 | And when Joseph's brethren saw |
| 16 | 22444 | 0.749 | 196997 | 258 | So shall ye say unto Joseph, Fo |
| 17 | 38e01 | 0.749 | 197683 | 99 | And Joseph dwelt in Egypt, he, |
| 18 | a1cca | 0.749 | 197782 | 145 | And Joseph saw Ephraim's childr |
| 19 | e6d45 | 0.545 | 108236 | 81 | And she called his name Joseph; |
| 20 | aef10 | 0.545 | 108317 | 147 | And it came to pass, when Rache |
+----+-------+-------+-----------+-----------+---------------------------------+
~/src/elixir/searchex (master ✘)✹ ᐅ ./searchex query revelation 'jesus'
Collection 'local/revelation' Query 'jesus'
+----+-------+-------+-----------+-----------+---------------------------------+
| ID | Docid | Score | Startbyte | Doclength | Body |
+----+-------+-------+-----------+-----------+---------------------------------+
| 1 | 7c56e | 0.0 | 0 | 188 | The Revelation of Jesus Christ, |
| 2 | 0dbad | 0.0 | 188 | 105 | hobare record of the word of Go |
| 3 | 7e700 | 0.0 | 629 | 199 | from Jesus Christ, whois the fa |
| 4 | acfd4 | 0.0 | 1238 | 211 | who also am your brother, and c |
| 5 | 04949 | 0.0 | 32237 | 131 | h the remnant of her seed, whic |
| 6 | 4ee9c | 0.0 | 37013 | 183 | e they that keep the commandmen |
| 7 | 4a0cb | 0.0 | 43406 | 325 | REAT,THE MOTHER OF HARLOTS AND |
| 8 | 92d2b | 0.0 | 50794 | 158 | f Jesus: worship God: for thete |
| 9 | c4479 | 0.0 | 53181 | 218 | that were beheaded for the wit |
| 10 | b0958 | 0.0 | 60924 | 105 | nd murderers, and idolaters, an |
| 11 | 50f8e | 0.0 | 61695 | 403 | written in this book. He w |
+----+-------+-------+-----------+-----------+---------------------------------+
---
:collection: "revelation"
:adapter:
:type: "Filesys"
# :file_roots: [docs/revelation.md]
:file_roots: [docs/revelation.txt]
:file_types: ["txt"]
:file_maxnum: 10
:file_maxkb: 1000
:cache_dir: "cache"
:display_fields: "score startbyte doclength body"
:docsep: "\n"
:input_fields:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment