https://github.com/tim-raphael/ass
This is a Rust-based autocomplete and search tool that runs client-side using WebAssembly. It provides functionality for autocomplete and retrieval of content based on search queries.
https://github.com/tim-raphael/ass
autocomplete rust search trie-data-structure wasm
Last synced: 6 months ago
JSON representation
This is a Rust-based autocomplete and search tool that runs client-side using WebAssembly. It provides functionality for autocomplete and retrieval of content based on search queries.
- Host: GitHub
- URL: https://github.com/tim-raphael/ass
- Owner: Tim-Raphael
- License: mit
- Created: 2024-01-27T10:29:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T14:13:43.000Z (almost 2 years ago)
- Last Synced: 2024-02-11T15:27:37.189Z (almost 2 years ago)
- Topics: autocomplete, rust, search, trie-data-structure, wasm
- Language: Rust
- Homepage: https://tim-raphael.github.io/ass/demo/
- Size: 15.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASS - Advanced-Search-System
This is a Rust-based autocomplete and search tool that runs client-side using WebAssembly. It provides functionality for autocomplete and retrieval of content based on search queries.
To see the demo in action, you can visit [the demo page](https://tim-raphael.github.io/ass/demo/).
## How It Works
Here's a quick rundown of the functionality:
- **Autocomplete**: As you type, ASS provides real-time suggestions based on the content stored in the Trie data structure.
- **Get Content**: The get content functionality efficiently retrieves entries from the hash table, enabling users to quickly find specific items within the dataset.
- **Data Generation**: Generate random datasets for experimentation and testing purposes.
## Dataset Size Recommendation
For optimal performance, aim to maintain datasets between 10,000 and 100,000 items. Larger datasets may result in excessive memory usage due to the client-side nature of the tool.
## Test Coverage
The small test suite covers some scenarios, including insertion, autocomplete functionality, data retrieval, data generation, and search capabilities.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to contribute, report issues, or suggest improvements.