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 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/models/SearchResult.java b/src/com/gitblit/models/SearchResult.java
index 4a03a70..ffe4d87 100644
--- a/src/com/gitblit/models/SearchResult.java
+++ b/src/com/gitblit/models/SearchResult.java
@@ -27,9 +27,13 @@
public String summary;
public String repository;
+
+ public String branch;
public String id;
+ public List<String> tags;
+
public List<String> labels;
public ObjectType type;
@@ -39,6 +43,6 @@
@Override
public String toString() {
- return score + " : " + type.name() + " : " + repository + " : " + id;
+ return score + " : " + type.name() + " : " + repository + " : " + id + " (" + branch + ")";
}
}
\ No newline at end of file
--
Gitblit v1.9.1