dadoonet / Legacy Search
Demo project showing how to add elasticsearch to a legacy application.
Stars: ✭ 103
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Legacy Search
Be Course 17 18
🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Stars: ✭ 44 (-57.28%)
Mutual labels: sql, nosql
Cosyan
Transactional SQL based RDBMS with sophisticated multi table constraint logic.
Stars: ✭ 45 (-56.31%)
Mutual labels: sql, nosql
Demo Scene
👾Scripts and samples to support Confluent Demos and Talks. ⚠️Might be rough around the edges ;-) 👉For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/
Stars: ✭ 806 (+682.52%)
Mutual labels: elasticsearch, demo
Great Big Example Application
A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Stars: ✭ 899 (+772.82%)
Mutual labels: elasticsearch, demo
Sql Boot
Advanced REST-wrapper for your SQL-queries (actually not only SQL)
Stars: ✭ 51 (-50.49%)
Mutual labels: sql, nosql
Sequelize
An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js
Stars: ✭ 25,422 (+24581.55%)
Mutual labels: sql, nosql
Aspnetcorenlog
ASP.NET Core NLog MS SQL Server PostgreSQL MySQL Elasticsearch
Stars: ✭ 54 (-47.57%)
Mutual labels: sql, elasticsearch
Typeorm
TypeORM module for Nest framework (node.js) 🍇
Stars: ✭ 807 (+683.5%)
Mutual labels: sql, nosql
Elasticsearch Sql
Use SQL to query Elasticsearch
Stars: ✭ 6,563 (+6271.84%)
Mutual labels: sql, elasticsearch
Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (+596.12%)
Mutual labels: sql, nosql
Examples
Demo applications and code examples for Confluent Platform and Apache Kafka
Stars: ✭ 571 (+454.37%)
Mutual labels: sql, demo
Orientdb
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries. OrientDB Community Edition is Open Source using a liberal Apache 2 license.
Stars: ✭ 4,394 (+4166.02%)
Mutual labels: sql, nosql
Elasticsql
convert sql to elasticsearch DSL in golang(go)
Stars: ✭ 687 (+566.99%)
Mutual labels: sql, elasticsearch
Fluent
Vapor ORM (queries, models, and relations) for NoSQL and SQL databases
Stars: ✭ 1,071 (+939.81%)
Mutual labels: sql, nosql
Elasticsql
ElasticSQL package converts SQL to ElasticSearch DSL
Stars: ✭ 77 (-25.24%)
Mutual labels: sql, elasticsearch
Add Search to Legacy Application
Introduction
This is a demo project to show how to add elasticsearch to a legacy SQL project.
In this branch, you will find the current legacy version of the project.
Installation
You need to have:
- Maven
- JDK8 or higher
- Docker
Run MySQL database using docker with:
./mysql.sh
Build the application:
mvn clean install
Then run it with:
java -jar target/legacy-search-7.0-SNAPSHOT.jar
Or directly run from Maven:
mvn clean spring-boot:run
Note that while developing, you would probably prefer running LegacySearchApp#main()
from your IDE to get hot reload of the application.
Play!
Some CRUD operations
# Create one person
curl -XPUT http://127.0.0.1:8080/api/1/person/1 -H "Content-Type: application/json" -d '{"name":"David Pilato"}'
# Read that person
curl http://127.0.0.1:8080/api/1/person/1
# Update full document
curl -XPUT http://127.0.0.1:8080/api/1/person/1 -H "Content-Type: application/json" -d '{"name":"David Pilato", "children":3}'
# Check
curl http://127.0.0.1:8080/api/1/person/1
# Delete
curl -XDELETE http://127.0.0.1:8080/api/1/person/1
# Check (you should get a 404 error)
curl http://127.0.0.1:8080/api/1/person/1
Database Initialisation
# Initialize the database with 1 000 (default) or 10 000 persons
curl http://127.0.0.1:8080/api/1/person/_init
curl http://127.0.0.1:8080/api/1/person/_init?size=10000
Search
# Search for something (`a la google`)
curl "http://127.0.0.1:8080/api/1/person/_search?q=Joe"
You can then access the application using your browser: http://127.0.0.1:8080/. You can also look at advanced search.
Next step
Look at branch 01-direct
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].