PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/kai/templates/snippets/layout.mako

Relevant Search: With Applications for Solr and Elasticsearch

For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate Link
https://bitbucket.org/bbangert/kai/
Mako | 17 lines | 17 code | 0 blank | 0 comment | 3 complexity | 960d574e770f29a81095e82ae53b6336 MD5 | raw file
 1<div class="yui-b content snippets">
 2    <div class="relnav" id="relnav">\
 3        ${h.link_to(_('Snippet Home'), url=url('snippets'))} |
 4        % if c.user:
 5        ${h.link_to(_('Add Snippet'), url=url('new_snippet'))} | \
 6        % endif
 7        ${h.link_to(_('View By Author'), url=url(controller='snippets', action='by_author'))} | \
 8        ${h.link_to(_('View By Tag'), url=url('snippet_tagcloud'))}
 9    </div>
10    ${next.body()}
11</div>
12<%inherit file="../layout.mako" />
13<%def name="styles()">
14${h.auto_discovery_link(url('formatted_snippets', format='atom', qualified=True), feed_type='atom', title='PylonsHQ Snippet Feed')}
15${parent.styles()}
16${h.stylesheet_link('/css/sphinx.css')}
17</%def>