lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Ohtani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3502) [Copy Field][Importing] Copy Field duplicate a field and a multivalued field can be created without having field multivalued in schema
Date Sat, 21 Jul 2012 18:27:34 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419901#comment-13419901
] 

Jun Ohtani commented on SOLR-3502:
----------------------------------

I try "partial update" for 4.0-ALPHA using exampledocs/mem.xml. 
using follows xml to partial update.

{quote}
<add>
<doc>
  <field name="id">VS1GB400C3</field>
  <field name="_version_">version number</field>
  <field name="cat" update="add">add_cats</field>
</doc>
</add>
{quote}

1st partial update return success.
But 
{quote}
{}

                
> [Copy Field][Importing] Copy Field duplicate a field and a multivalued field can be created
without having field multivalued in schema
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3502
>                 URL: https://issues.apache.org/jira/browse/SOLR-3502
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.1
>         Environment: two Solr 3.1 on linux.
>            Reporter: Alexis Torres Paderewski
>            Priority: Minor
>              Labels: newbie
>         Attachments: SOLR-3502-4x.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> we have two field on both solr:
> <field name="A" type="text" indexed="true" stored="true"/>
> <field name="B" type="string" indexed="true" stored="true"/>
> <copyField source="A" dest="B"/>
> We have a SolrDocument reader (solrj client without pojo binding) that takes all docs
from one solr and SolrInputDocument write them on the other solr.
> On B field in the target solr we ended with an Array containing the duplicate value we
have on the first solr. How could solr internally break schema ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message