Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Add title import for bookmark icon if avail in index
regerbb37cb32e443
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.javaindex f3b77f0cc..24e7688d0 100644--- a/htroot/yacysearch.java+++ b/htroot/yacysearch.java@@ -596,6 +596,10 @@ public class yacysearch {//bmk.setProperty(Bookmark.BOOKMARK_QUERY, originalquerystring);bmk.addTag("/search"); // add to bookmark folderbmk.addTag("searchresult"); // add tag+ String urlhash = post.get("bookmarkref");+ final URIMetadataNode urlentry = indexSegment.fulltext().getMetadata(UTF8.getBytes(urlhash));+ if (urlentry != null && !urlentry.dc_title().isEmpty())+ bmk.setProperty(Bookmark.BOOKMARK_TITLE,urlentry.dc_title());sb.bookmarksDB.saveBookmark(bmk);// do the same for YMarks ?