summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/models/SearchResult.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-02-17 18:43:40 -0500
committerJames Moger <james.moger@gitblit.com>2012-02-17 18:43:40 -0500
commit36ee2307ea083cfe8994b13a3023bc779b2b23ec (patch)
tree7d40aa082abc8070b9c3d367eb2156ef9ef8eb84 /src/com/gitblit/models/SearchResult.java
parent0c2ea45eb400b1ded16223c03e63cec0c40564b8 (diff)
downloadgitblit-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.java4
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