You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet/less" type="text/css" href="style.less"/>
- <title>Wikipedia search (powered by tantivy)</title>
- </head>
- <body>
- <script id="template" type="x-tmpl-mustache">
- <div class='query'>{{ query }}</div>
- <div class='num_hits'>{{ num_hits }} articles</div>
- <ul class="timings">
- {{#timings}}
- <li>{{name}} - {{duration}} μs</li>
- {{/timings}}
- </ul>
- </ul>
- <ul class='hits'>
- {{#hits}}
- <li>{{title}}</li>
- {{/hits}}
- </ul>
-
- </script>
- <form onsubmit="event.preventDefault(); search();">
- <input type="text" id="q" autocomplete="off"></input>
- <!-- <input type="submit"></input> -->
- </form>
- <div id="serp"></div>
- <script src="less.min.js" type="text/javascript"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js"></script>
- <script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
- <script src="main.js"></script>
- </body>
- </html>
|