You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/05/07 14:06:59 UTC

svn commit: r1100515 - /lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java

Author: uschindler
Date: Sat May  7 12:06:59 2011
New Revision: 1100515

URL: http://svn.apache.org/viewvc?rev=1100515&view=rev
Log:
one missing getField()

Modified:
    lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java

Modified: lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java?rev=1100515&r1=1100514&r2=1100515&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java (original)
+++ lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/update/AddUpdateCommand.java Sat May  7 12:06:59 2011
@@ -72,7 +72,7 @@ public class AddUpdateCommand extends Up
        if (sf != null) {
          if (doc != null) {
            schema.getUniqueKeyField();
-           Fieldable storedId = doc.getField(sf.getName());
+           Fieldable storedId = doc.getFieldable(sf.getName());
            indexedId = sf.getType().storedToIndexed(storedId);
          }
          if (solrDoc != null) {