-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- example added
- Loading branch information
julfikar
committed
Apr 18, 2023
1 parent
c7362e4
commit e62d3cc
Showing
9 changed files
with
408 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,52 @@ | ||
<img src="./assets/flinch.png" alt="Flinch"> | ||
<img src="assets/flinch.png"> | ||
|
||
[](https://github.com/mjm918/flinch/actions/workflows/rust.yml) | ||
|
||
Flinch is an in-memory, real-time document database designed for fast and efficient full-text search. It comes with a built-in full-text search engine that enables both "search-as-you-type" and wildcard search capabilities. Flinch was created with the goal of providing a high-performance search solution that can be integrated into various applications. | ||
Flinch is an in-memory, real-time document database designed for fast, efficient full-text search and querying. It comes with a built-in full-text search engine that enables both "search-as-you-type" and like search capabilities. Flinch was created with the goal of providing a high-performance search solution that can be integrated into various applications. | ||
|
||
# Features | ||
- In-memory database: Flinch stores documents in memory, allowing for ultra-fast search performance. | ||
- Real-time updates: Flinch supports real-time updates, enabling users to add, update, and delete documents in real-time. | ||
- Full-text search: Flinch has a built-in full-text search engine that provides powerful search capabilities, including search-as-you-type and wildcard search. | ||
- Lightweight and easy to use: Flinch is designed to be lightweight and easy to use, with a simple API that allows developers to quickly integrate it into their applications. | ||
- Document-oriented: Flinch is document-oriented, allowing users to store and retrieve documents as JSON objects. | ||
- Highly scalable: Flinch is designed to be highly scalable, allowing users to handle large volumes of documents and queries efficiently. | ||
- Highly scalable: Flinch is designed to be highly scalable, allowing users to handle large volumes of documents and queries efficiently.\ | ||
- Query: Document query faster than ⚡️ | ||
- Open source: Flinch is an open-source project, allowing users to contribute to its development and customize it to suit their needs. | ||
|
||
# How to use | ||
|
||
Refer to [lib.rs](src%2Flib.rs) | ||
|
||
# Query Example | ||
|
||
``` | ||
{ | ||
product_status: { gt: 0 }, | ||
cust_code: { like: "Abs-001" }, | ||
salesperson_id: { eq: "19982" }, | ||
uom_price: { | ||
prop: "price", | ||
lt: 10 | ||
} | ||
} | ||
``` | ||
assume `document` is something like below: | ||
``` | ||
{ | ||
product_code: "", | ||
product_name: "", | ||
product_status: 1 OR 0, | ||
cust_code: [ | ||
"A12390", | ||
"A89900" | ||
], | ||
salesperson_id: [ | ||
19928, | ||
18320 | ||
], | ||
uom_price:[ | ||
{id: 1, price: 9} | ||
] | ||
} | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.