From 9e2f9ddbe46e88c919834940352dcead61ac7a02 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 10 Mar 2012 14:10:48 -0500
Subject: [PATCH] Lucene adjustments

---
 src/com/gitblit/models/SearchResult.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/com/gitblit/models/SearchResult.java b/src/com/gitblit/models/SearchResult.java
index 44207f0..ffe4d87 100644
--- a/src/com/gitblit/models/SearchResult.java
+++ b/src/com/gitblit/models/SearchResult.java
@@ -25,9 +25,15 @@
 	public String committer;
 
 	public String summary;
+	
+	public String repository;
+	
+	public String branch;
 
 	public String id;
 
+	public List<String> tags;
+	
 	public List<String> labels;
 
 	public ObjectType type;
@@ -37,6 +43,6 @@
 
 	@Override
 	public String toString() {
-		return type.name() + ": " + id;
+		return  score + " : " + type.name() + " : " + repository + " : " + id + " (" + branch + ")";
 	}
 }
\ No newline at end of file

--
Gitblit v1.9.1