~ubuntuone-pqm-team/sphinx/stable

« back to all changes in this revision

Viewing changes to sphinx/websupport/search/xapiansearch.py

  • Committer: Ricardo Kirkner
  • Date: 2015-04-15 19:42:56 UTC
  • Revision ID: ricardo.kirkner@canonical.com-20150415194256-r6wb9fxewu7g3yne
Tags: 1.3.1
imported Sphinx 1.3.1 from tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
    Xapian search adapter.
7
7
 
8
 
    :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
 
8
    :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
9
9
    :license: BSD, see LICENSE for details.
10
10
"""
11
11
 
76
76
            context = self.extract_context(m.document.get_data())
77
77
            results.append((m.document.get_value(self.DOC_PATH),
78
78
                            m.document.get_value(self.DOC_TITLE),
79
 
                            ''.join(context) ))
 
79
                            ''.join(context)))
80
80
 
81
81
        return results