-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
43 lines (40 loc) · 1.73 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>BloomySearch</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style type="text/css">
body {
background-image: url('bg.png');
}
html, body {
height: 100%;
}
.container {
background-color: white;
min-height: 100%;
}
</style>
</head>
<body>
<div class="container">
<h1 class="text-right">BloomySearch</h1>
<hr/>
<p id="error"></p>
<div id="main">
<p class="alert alert-info">Loading…</p>
</div>
<div id="results"></div>
<h2 class="text-right" style="margin-top: 3em;">More about BloomySearch</h2>
<hr/>
<p>Have you ever dreamt of having a search engine on your static website ? BloomySearch implements a static index generation, when you generate your webpages, and a client-side JavaScript script which actually implements all the search logic. It downloads the index and performs the search query.</p>
<p>To preserve bandwith, the index is stored in a binary file, using BloomFilters, instead of using a JSON index as <a href="http://lunrjs.com/">Lunr.JS</a> does.</p>
<p>For full details about BloomySearch, please refer to <a href="http://phyks.me/2014/11/bloomysearch.html">this blog post</a>.</p>
</div>
<script type="text/javascript" src="js/bloom.js"></script>
<script type="text/javascript" src="js/stemmer.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>