lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tflo...@apache.org
Subject [01/50] [abbrv] lucene-solr:jira/solr-10233: * SOLR-10549: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true (David Smiley)
Date Mon, 08 May 2017 22:07:15 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-10233 873d1da0e -> b16f0e353


* SOLR-10549: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true
(David Smiley)


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

Branch: refs/heads/jira/solr-10233
Commit: 037d864bf993ddba7af2bbee8f1a87b5e347240a
Parents: cbd3b02
Author: David Smiley <dsmiley@apache.org>
Authored: Wed May 3 09:30:34 2017 -0400
Committer: David Smiley <dsmiley@apache.org>
Committed: Wed May 3 09:30:34 2017 -0400

----------------------------------------------------------------------
 solr/CHANGES.txt                                                 | 4 +++-
 solr/core/src/java/org/apache/solr/schema/FieldType.java         | 1 +
 .../test/org/apache/solr/rest/schema/TestFieldTypeResource.java  | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/037d864b/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 1888d66..b443862 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -275,6 +275,8 @@ Bug Fixes
 
 * SOLR-10588: Prevent redundant core reload on config update (Mikhail Khludnev)
 
+* SOLR-10549: The new 'large' attribute had been forgotten in /schema/fieldstypes?showDefaults=true
(David Smiley)
+
 Other Changes
 ----------------------
 
@@ -360,7 +362,7 @@ Bug Fixes
 
 * SOLR-10420: Solr 6.x leaking one SolrZkClient instance per second (Scott Blum, Cao Manh
Dat, Markus Jelsma, Steve Rowe)
 
-* SOLR-10439: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true
+* SOLR-10439: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true
(David Smiley)
 
 * SOLR-10527: edismax with sow=false fails to create dismax-per-term queries when any field
is boosted.
   (Steve Rowe)

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/037d864b/solr/core/src/java/org/apache/solr/schema/FieldType.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/schema/FieldType.java b/solr/core/src/java/org/apache/solr/schema/FieldType.java
index 3519283..a4058fb 100644
--- a/solr/core/src/java/org/apache/solr/schema/FieldType.java
+++ b/solr/core/src/java/org/apache/solr/schema/FieldType.java
@@ -870,6 +870,7 @@ public abstract class FieldType extends FieldProperties {
       namedPropertyValues.add(getPropertyName(OMIT_POSITIONS), hasProperty(OMIT_POSITIONS));
       namedPropertyValues.add(getPropertyName(STORE_OFFSETS), hasProperty(STORE_OFFSETS));
       namedPropertyValues.add(getPropertyName(MULTIVALUED), hasProperty(MULTIVALUED));
+      namedPropertyValues.add(getPropertyName(LARGE_FIELD), hasProperty(LARGE_FIELD));
       if (hasProperty(SORT_MISSING_FIRST)) {
         namedPropertyValues.add(getPropertyName(SORT_MISSING_FIRST), true);
       } else if (hasProperty(SORT_MISSING_LAST)) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/037d864b/solr/core/src/test/org/apache/solr/rest/schema/TestFieldTypeResource.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/rest/schema/TestFieldTypeResource.java b/solr/core/src/test/org/apache/solr/rest/schema/TestFieldTypeResource.java
index eb72aed..b66ffc1 100644
--- a/solr/core/src/test/org/apache/solr/rest/schema/TestFieldTypeResource.java
+++ b/solr/core/src/test/org/apache/solr/rest/schema/TestFieldTypeResource.java
@@ -24,7 +24,7 @@ public class TestFieldTypeResource extends SolrRestletTestBase {
   public void testGetFieldType() throws Exception {
     assertQ("/schema/fieldtypes/float?indent=on&wt=xml&showDefaults=true",
             "count(/response/lst[@name='fieldType']) = 1",
-            "count(/response/lst[@name='fieldType']/*) = 16",
+            "count(/response/lst[@name='fieldType']/*) = 17",
             "/response/lst[@name='fieldType']/str[@name='name'] = 'float'",
             "/response/lst[@name='fieldType']/str[@name='class'] = 'solr.TrieFloatField'",
             "/response/lst[@name='fieldType']/str[@name='precisionStep'] ='0'",
@@ -39,6 +39,7 @@ public class TestFieldTypeResource extends SolrRestletTestBase {
             "/response/lst[@name='fieldType']/bool[@name='omitPositions'] = 'false'",
             "/response/lst[@name='fieldType']/bool[@name='storeOffsetsWithPositions'] = 'false'",
             "/response/lst[@name='fieldType']/bool[@name='multiValued'] = 'false'",
+            "/response/lst[@name='fieldType']/bool[@name='large'] = 'false'",
             "/response/lst[@name='fieldType']/bool[@name='tokenized'] = 'false'");
   }
 


Mime
View raw message