lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is...@apache.org
Subject lucene-solr:jira/solr-5944: SOLR-5944: Fixing precommit
Date Thu, 26 Jan 2017 00:25:41 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-5944 da3c44901 -> cb04a2748


SOLR-5944: Fixing precommit


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/cb04a274
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/cb04a274
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/cb04a274

Branch: refs/heads/jira/solr-5944
Commit: cb04a274846482d77236779935a1bc7bdd4b1c67
Parents: da3c449
Author: Ishan Chattopadhyaya <ishan@apache.org>
Authored: Thu Jan 26 05:55:15 2017 +0530
Committer: Ishan Chattopadhyaya <ishan@apache.org>
Committed: Thu Jan 26 05:55:15 2017 +0530

----------------------------------------------------------------------
 .../org/apache/solr/handler/component/RealTimeGetComponent.java  | 2 +-
 solr/core/src/java/org/apache/solr/schema/PointField.java        | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cb04a274/solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
b/solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
index 0e927ec..4be643e 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
+++ b/solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
@@ -445,7 +445,7 @@ public class RealTimeGetComponent extends SearchComponent
    *         document doesn't exist in the index.
    */
   private static SolrDocument mergePartialDocWithFullDocFromIndex(SolrCore core, BytesRef
idBytes, ReturnFields returnFields,
-		  Set<String> onlyTheseFields, SolrInputDocument partialDoc) throws IOException {
+             Set<String> onlyTheseFields, SolrInputDocument partialDoc) throws IOException
{
     RefCounted<SolrIndexSearcher> searcherHolder = core.getRealtimeSearcher(); //Searcher();
     try {
       // now fetch last document from index, and merge partialDoc on top of it

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cb04a274/solr/core/src/java/org/apache/solr/schema/PointField.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/schema/PointField.java b/solr/core/src/java/org/apache/solr/schema/PointField.java
index 6f5358b..9b1ed38 100644
--- a/solr/core/src/java/org/apache/solr/schema/PointField.java
+++ b/solr/core/src/java/org/apache/solr/schema/PointField.java
@@ -27,7 +27,6 @@ import org.apache.lucene.document.NumericDocValuesField;
 import org.apache.lucene.document.StoredField;
 import org.apache.lucene.index.IndexableField;
 import org.apache.lucene.queries.function.ValueSource;
-import org.apache.lucene.search.MatchNoDocsQuery;
 import org.apache.lucene.search.Query;
 import org.apache.lucene.search.SortedSetSelector;
 import org.apache.lucene.util.BytesRef;
@@ -36,10 +35,7 @@ import org.apache.lucene.util.CharsRef;
 import org.apache.lucene.util.CharsRefBuilder;
 import org.apache.solr.common.SolrException;
 import org.apache.solr.response.TextResponseWriter;
-import org.apache.solr.search.FunctionRangeQuery;
 import org.apache.solr.search.QParser;
-import org.apache.solr.search.function.ValueSourceRangeFilter;
-import org.apache.solr.util.DateMathParser;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 


Mime
View raw message