Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added matching in url field in Table_API_p search
Michael Peter Christendc38d3598682
diff --git a/htroot/Table_API_p.html b/htroot/Table_API_p.htmlindex b2dfa8364..6a5dd9cca 100644--- a/htroot/Table_API_p.html+++ b/htroot/Table_API_p.html@@ -46,7 +46,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.deThese recorded actions can be used to repeat specific actions and to send themto a scheduler for a periodic execution.</p>::#(/inline)#- #(showtable)#::+ #(showtable)#::<form action="Table_API_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8" id="apilist"><fieldset><legend><label for="apilist">Recorded Actions</label></legend>diff --git a/htroot/Table_API_p.java b/htroot/Table_API_p.javaindex 7b0db6783..7eb114925 100644--- a/htroot/Table_API_p.java+++ b/htroot/Table_API_p.java@@ -245,7 +245,7 @@ public class Table_API_p {boolean dark = true;boolean scheduledactions = false;int c = 0;- String type, comment;+ String type, comment, url;// first prepare a listwhile (mapIterator.hasNext()) {r = mapIterator.next();@@ -257,7 +257,8 @@ public class Table_API_p {continue;}comment = UTF8.String(r.get(WorkTables.TABLE_API_COL_COMMENT));- if (!query.matcher(comment).matches()) {+ url = UTF8.String(r.get(WorkTables.TABLE_API_COL_URL));+ if (!(query.matcher(comment).matches() || query.matcher(url).matches())) {continue;}if (c >= startRecord) {