Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilrosch/algorithms-project-69
Search Engine - a project in which we will learn the basic algorithms and data structures in search engines. We will practice various search methods, indexing, ranking, relevance metrics, and reverse index building.
https://github.com/ilrosch/algorithms-project-69
javascript search-algorithm search-engine
Last synced: about 2 months ago
JSON representation
Search Engine - a project in which we will learn the basic algorithms and data structures in search engines. We will practice various search methods, indexing, ranking, relevance metrics, and reverse index building.
- Host: GitHub
- URL: https://github.com/ilrosch/algorithms-project-69
- Owner: ilrosch
- Created: 2024-05-31T13:22:50.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T11:58:12.000Z (7 months ago)
- Last Synced: 2024-06-04T09:57:04.321Z (7 months ago)
- Topics: javascript, search-algorithm, search-engine
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Search engine
[![Actions Status](https://github.com/ilrosch/algorithms-project-69/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/ilrosch/algorithms-project-69/actions)
Search Engine - a project in which we will learn the basic algorithms and data structures in search engines. We will practice various search methods, indexing, ranking, relevance metrics, and reverse index building.
## Description
The World Wide Web is hard to imagine without search engines. To make them work effectively, they use different search engines. In this project we will write our own implementation of a search engine.
## Usage example
```console
import search from '@hexlet-code';const doc1 = { id: 'doc1', text: "I can't shoot straight unless I've had a pint!" };
const doc2 = { id: 'doc2', text: "Don't shoot shoot shoot that thing at me." };
const doc3 = { id: 'doc3', text: "I'm your shooter." };
const docs = [doc1, doc2, doc3];search(docs, 'shoot'); // ['doc2', 'doc1']
```