manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1716320 - in /manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch: ./ src/main/java/org/apache/manifoldcf/elasticsearch/
Date Wed, 25 Nov 2015 08:15:53 GMT
Author: kwright
Date: Wed Nov 25 08:15:52 2015
New Revision: 1716320

URL: http://svn.apache.org/viewvc?rev=1716320&view=rev
Log:
Pull up fix for CONNECTORS-1228 from trunk.

Modified:
    manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/   (props changed)
    manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/CHANGES.txt
    manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerRestSearchAction.java
    manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFConfigurationParameters.java

Propchange: manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Nov 25 08:15:52 2015
@@ -1 +1 @@
-/manifoldcf/integration/elasticsearch-1.5/trunk:1688749
+/manifoldcf/integration/elasticsearch-1.5/trunk:1688749,1696109,1696112

Modified: manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/CHANGES.txt?rev=1716320&r1=1716319&r2=1716320&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/CHANGES.txt (original)
+++ manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/CHANGES.txt Wed Nov
25 08:15:52 2015
@@ -1,6 +1,10 @@
 Apache ManifoldCF Plugin for Elastic Search change Log
 $Id$
 
+======================= Release 2.0.1 =====================
+
+CONNECTORS-1228: Fix default values so they are correct.
+
 ======================= Release 2.0 =====================
 
 Initial commit.

Modified: manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerRestSearchAction.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerRestSearchAction.java?rev=1716320&r1=1716319&r2=1716320&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerRestSearchAction.java
(original)
+++ manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerRestSearchAction.java
Wed Nov 25 08:15:52 2015
@@ -30,15 +30,11 @@ import com.fasterxml.jackson.databind.Js
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.fasterxml.jackson.databind.node.ObjectNode;
 import org.elasticsearch.ElasticsearchIllegalArgumentException;
-import org.elasticsearch.action.search.SearchRequest;
 import org.elasticsearch.action.support.IndicesOptions;
 import org.elasticsearch.common.Strings;
-import org.elasticsearch.common.logging.ESLogger;
-import org.elasticsearch.common.logging.Loggers;
 import org.elasticsearch.common.unit.TimeValue;
 import org.elasticsearch.index.query.*;
 import org.elasticsearch.rest.RestRequest;
-import org.elasticsearch.rest.action.search.RestSearchAction;
 import org.elasticsearch.rest.action.support.RestActions;
 import org.elasticsearch.search.Scroll;
 import org.elasticsearch.search.builder.SearchSourceBuilder;
@@ -48,11 +44,6 @@ import org.elasticsearch.search.suggest.
 import org.elasticsearch.search.suggest.term.TermSuggestionBuilder;
 
 import java.io.*;
-import java.net.URLEncoder;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
 
 public class MCFAuthorizerRestSearchAction extends RestSearchAction {
 

Modified: manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFConfigurationParameters.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFConfigurationParameters.java?rev=1716320&r1=1716319&r2=1716320&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFConfigurationParameters.java
(original)
+++ manifoldcf/integration/elasticsearch-1.5/branches/release-2.0-branch/src/main/java/org/apache/manifoldcf/elasticsearch/MCFConfigurationParameters.java
Wed Nov 25 08:15:52 2015
@@ -44,11 +44,10 @@ public class MCFConfigurationParameters
       setBaseURL(settings.get("mcf.authority_service_base_url", authorityServiceBaseURL));
       setConnectionTimeout(settings.getAsInt("mcf.http.connection_timeout", connectionTimeout));
       setSocketTimeout(settings.getAsInt("mcf.http.socket_timeout",socketTimeout));
-      setAllowFieldPrefix(settings.get("mcf.allow_field_prefix"));
-      setDenyFieldPrefix(settings.get("mcf.deny_field_prefix"));
+      setAllowFieldPrefix(settings.get("mcf.allow_field_prefix",allowFieldPrefix));
+      setDenyFieldPrefix(settings.get("mcf.deny_field_prefix",denyFieldPrefix));
       setConnectionPoolSize(settings.getAsInt("mcf.http.connection_pool_size",connectionPoolSize));
   }
-
   public MCFConfigurationParameters setBaseURL(String baseURL)
   {
     this.authorityServiceBaseURL = baseURL;    return this;



Mime
View raw message