From 36ee2307ea083cfe8994b13a3023bc779b2b23ec Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 17 Feb 2012 18:43:40 -0500 Subject: [PATCH] Implemented multi-repository Lucene search --- 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 44207f0..4a03a70 100644 --- a/src/com/gitblit/models/SearchResult.java +++ b/src/com/gitblit/models/SearchResult.java @@ -25,6 +25,8 @@ public String committer; public String summary; + + public String repository; public String id; @@ -37,6 +39,6 @@ @Override public String toString() { - return type.name() + ": " + id; + return score + " : " + type.name() + " : " + repository + " : " + id; } } \ No newline at end of file -- Gitblit v1.9.1