Switch to unified view

a/Allura/allura/lib/solr.py b/Allura/allura/lib/solr.py
...
...
6
    """Solr server that accepts default values for `commit` and
6
    """Solr server that accepts default values for `commit` and
7
    `commitWithin` and passes those values through to each `add` and
7
    `commitWithin` and passes those values through to each `add` and
8
    `delete` call, unless explicitly overridden.
8
    `delete` call, unless explicitly overridden.
9
    """
9
    """
10
10
11
    def __init__(self, server, commit=True, commitWithin=None):
11
    def __init__(self, server, commit=True, commitWithin=None, **kw):
12
        pysolr.Solr.__init__(self, server)
12
        pysolr.Solr.__init__(self, server, **kw)
13
        self.commit = commit
13
        self.commit = commit
14
        self.commitWithin = commitWithin
14
        self.commitWithin = commitWithin
15
15
16
    def add(self, *args, **kw):
16
    def add(self, *args, **kw):
17
        if 'commit' not in kw:
17
        if 'commit' not in kw: