allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [06/38] git commit: [#4019] ticket:481 Add facets to MockHits. Fixes a lot of test failures.
Date Wed, 30 Apr 2014 18:15:38 GMT
[#4019] ticket:481 Add facets to MockHits. Fixes a lot of test failures.


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e2cad560
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e2cad560
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e2cad560

Branch: refs/heads/master
Commit: e2cad560873fb748034f1450334db73e45ca05b8
Parents: f3eb719
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Dec 19 12:05:57 2013 +0200
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 30 15:55:09 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/solr.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e2cad560/Allura/allura/lib/solr.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/solr.py b/Allura/allura/lib/solr.py
index 22adbe6..df7cd4d 100644
--- a/Allura/allura/lib/solr.py
+++ b/Allura/allura/lib/solr.py
@@ -98,6 +98,10 @@ class MockSOLR(object):
         def docs(self):
             return self
 
+        @property
+        def facets(self):
+            return {'facet_fields': {}}
+
     def __init__(self):
         self.db = {}
 


Mime
View raw message