diff options
author | James Moger <james.moger@gitblit.com> | 2012-02-17 18:43:40 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-02-17 18:43:40 -0500 |
commit | 36ee2307ea083cfe8994b13a3023bc779b2b23ec (patch) | |
tree | 7d40aa082abc8070b9c3d367eb2156ef9ef8eb84 /src/com/gitblit/models/SearchResult.java | |
parent | 0c2ea45eb400b1ded16223c03e63cec0c40564b8 (diff) | |
download | gitblit-36ee2307ea083cfe8994b13a3023bc779b2b23ec.tar.gz gitblit-36ee2307ea083cfe8994b13a3023bc779b2b23ec.zip |
Implemented multi-repository Lucene search
Diffstat (limited to 'src/com/gitblit/models/SearchResult.java')
-rw-r--r-- | src/com/gitblit/models/SearchResult.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/gitblit/models/SearchResult.java b/src/com/gitblit/models/SearchResult.java index 44207f08..4a03a70b 100644 --- a/src/com/gitblit/models/SearchResult.java +++ b/src/com/gitblit/models/SearchResult.java @@ -25,6 +25,8 @@ public class SearchResult implements Serializable { public String committer;
public String summary;
+
+ public String repository;
public String id;
@@ -37,6 +39,6 @@ public class SearchResult implements Serializable { @Override
public String toString() {
- return type.name() + ": " + id;
+ return score + " : " + type.name() + " : " + repository + " : " + id;
}
}
\ No newline at end of file |