~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/search.py

  • Committer: Tarmac
  • Author(s): Aaron Bentley
  • Date: 2013-03-28 18:56:12 UTC
  • mfrom: (179.3.4 remove-xappy)
  • Revision ID: tarmac-20130328185612-6f635k1h2wxh4eaw
[r=sinzui][bug=1099856][author=abentley] Remove Xapian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        self._client.index(self.index_name, 'charm', charm, charm_id,
57
57
                           refresh=True)
58
58
 
59
 
    def search(self, terms, allow_all_fields=False):
 
59
    def search(self, terms):
60
60
        size = None
61
61
        if terms == '':
62
62
            size = 0