• Stars
    star
    426
  • Rank 101,884 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Open-source web app using Elasticsearch and Docker to search through the contents of 100 classic novels.

Building a Full-Text Search App Using Docker and Elasticsearch

How does Wikipedia sort though 5+ million articles to find the most relevant one for your research?

How does Facebook find the friend who you're looking for (and whose name you've misspelled), across a userbase of 2+ billion people?

How does Google search the entire internet for webpages relevant to your vague, typo-filled search query?

In this tutorial, we'll walk through setting up our own full-text search application (of an admittedly lesser complexity than the systems in the questions above). Our example app will provide a UI and API to search the complete texts of 100 literary classics such as Peter Pan, Frankenstein, and Treasure Island.

You can preview a completed version of the tutorial app here - https://search.patricktriest.com

preview webapp

To read more, visit - https://blog.patricktriest.com/text-search-docker-elasticsearch/


This application is 100% open-source, feel free to utilize the code however you would like.

The MIT License (MIT)

Copyright (c) 2018 Patrick Triest

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

More Repositories

1

Cryptocurrency-Analysis-Python

Open-Source Tutorial For Analyzing and Visualizing Cryptocurrency Data
Jupyter Notebook
361
star
2

Atlas-Of-Thrones

An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.
JavaScript
281
star
3

Open-Cryptochat

An end-to-end, RSA-2048 encrypted anonymous chat application.
JavaScript
191
star
4

You-Should-Learn-Regex

Regular Expresion Tutorial (blog.patricktriest.com) Source Code
JavaScript
68
star
5

OpenJS-Sandbox

Offline-first Javascript interpreter web app.
JavaScript
56
star
6

Police-Analysis-Python

Open Source Tutorial For Analyzing & Visualizing 60 Million Police Stops Using Python
Jupyter Notebook
44
star
7

koa-joi-validate

Tiny module to generate request validation middleware for Koa using Joi.
JavaScript
27
star
8

Vue-Chess

Pure VueJS frontend for multiplayer chess project.
JavaScript
9
star
9

stockfish-microservice

Tiny Node API to interface with Stockfish chess AI.
JavaScript
8
star
10

Tiny-OTP

Browser-based, Google Authenticator compatible, time-based one-time-password (TOTP) library. 4kb minified and gzipped.
JavaScript
7
star
11

Open-OTP

An offline-first OTP generator webapp, directly compatible with Google Authenticator.
Vue
6
star
12

docker-dev-env

Portable interactive dev environment containerized with Docker.
Vim Script
4
star
13

llm-modal-example

Example of serving LLMs using Modal
Python
4
star
14

Blockchain-JS

A cryptographically secure blockchain protocol implemented in Javascript.
JavaScript
4
star
15

Open-OTP-Server

A fast, secure, open-source NodeJS server for validating OTPs.
JavaScript
4
star
16

Media-Moderator

A news aggregator that uses the Alchemy API to analyze and compare the bias of news stories.
Java
3
star
17

Term-Generator-API

A pseudo-random human-readable term generator to assist in password, username, keyword, and sentence generation.
JavaScript
3
star
18

PhotoShare

Parse-integrated Camera App
Java
2
star
19

django_angular

A sample Django app using Django-REST-Framework and Angular.js. Boilerplate code forked from brwr/thinkster-django-angular-boilerplate
JavaScript
2
star
20

Cerebro-Microservice

Image classification microservice using Tensorflow, Keras, and Flask.
HTML
1
star
21

CloudCamera

Cloud-backed Camera App
Java
1
star
22

simpleCamera

A very simple camera app for android
Java
1
star
23

Tiny-PRNG

Tiny (1kb), mathematically correct, Lehmer / Park-Miller Pseudorandom Number Generator
JavaScript
1
star
24

triestpa.github.io

HTML
1
star
25

DataVis-WorldBank

Goal: Find a creative and engaging way to visualize publicly available World Bank data.
JavaScript
1
star
26

WifiDirect-Messaging

Communicate between phones locally over Wifi-Direct
Java
1
star
27

GetHome-iOS

An iOS app to automatically detect your location and guide you home with minimal complexity for the user.
Swift
1
star
28

Friendly-Earth

A website to help people visualize their online social networks in order to find a friend to stay with while traveling.
JavaScript
1
star
29

BlueSky

Simple iOS app to display the weather.
Swift
1
star