-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
50 lines (40 loc) · 1.43 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
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Lucy.js demo</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Lucy.js</h1>
<p>Lucy.js enables fast full-text searching on any indexedDB database and supports several different index types.</p>
</header>
<section id="demo">
<h1>Try it out!</h1>
<button id="import-data">Import Data</button>
<button id="build-inv-index">Build Inverted Index</button>
<button id="build-prefix-index">Build Prefix Tree Index</button>
<button id="build-suffix-index">Build Suffix Tree Index</button>
<p class="loading-status"></p>
<form class="search">
<input type="search" id="search-query" placeholder="Search query (use % as a wildcard)" autofocus>
<button type="submit" id="submit-search">Search</button>
</form>
<section class="search-results">
<h1><strong class="count"> </strong>Search results <span class="duration"></span></h1>
<div></div>
</section>
</section>
<footer>
A project by Amy Zhang, Lea Verou, Manali Naik • <a href="https://github.com/amyxzhang/lucy.js" target="_blank">Github</a>
</footer>
<script src="code/lucy.js"></script>
<script src="code/stopwords/english_stopwords.js"></script>
<script src="code/third-party/Snowball.min.js"></script>
<script src="code/invindex.js"></script>
<script src="code/trieindex.js"></script>
<script src="code/idbport.js"></script>
<script src="code/demo.js"></script>
</body>
</html>