https://github.com/zvyn/searchserver
HTTP-Server to serve files and/or answer search-queries for words or records from a CSV-file. Results are ranked by TF-IDF.
https://github.com/zvyn/searchserver
Last synced: 8 months ago
JSON representation
HTTP-Server to serve files and/or answer search-queries for words or records from a CSV-file. Results are ranked by TF-IDF.
- Host: GitHub
- URL: https://github.com/zvyn/searchserver
- Owner: zvyn
- Created: 2013-12-14T22:35:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-14T23:04:58.000Z (over 12 years ago)
- Last Synced: 2025-03-29T04:48:26.352Z (about 1 year ago)
- Language: JavaScript
- Size: 10.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SearchServer
============
SearchServer provides an HTTP-Service to find Websites/Wikipedia-Articles from
a database which are relevant for certain key-words. This is basically an
experiment with tf-idf-ranking. And it is a basic file server ;)
TODO: write readme ;) ("./SearchServerMain --help" is quiet verbose)
in short:
1. git clone ...
2. make
3. unzip example/wikipedia-sentences.csv.zip
4. build the index (may take some seconds) and start serving queries:
`./SearchServerMain example/wikipedia-sentences.csv 8080`
5. open [http://localhost:8080/](http://localhost:8080)
6. Type a scientific key-word (the example contains wikipedia-articles about
some scientists with names early in the alphabet).