incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [01/13] git commit: Adding getFacets method.
Date Tue, 28 Jan 2014 18:57:33 GMT
Updated Branches:
  refs/heads/apache-blur-0.2 9340af68a -> 3280f7268


Adding getFacets method.


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

Branch: refs/heads/apache-blur-0.2
Commit: c18ed74496953da9f710be1d6d47663f3970a5ed
Parents: 9340af6
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 23 21:08:35 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jan 23 21:08:35 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/lucene/search/FacetQuery.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c18ed744/blur-query/src/main/java/org/apache/blur/lucene/search/FacetQuery.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetQuery.java b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetQuery.java
index aa9abda..cb2c482 100644
--- a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetQuery.java
+++ b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetQuery.java
@@ -53,6 +53,10 @@ public class FacetQuery extends AbstractWrapperQuery {
     return "facet:{" + _query.toString(field) + "}";
   }
 
+  public Query[] getFacets() {
+    return _facets;
+  }
+
   @Override
   public Query clone() {
     return new FacetQuery((Query) _query.clone(), _facets, _executor, _rewritten);


Mime
View raw message