Hello,

I updated my schema to use a copyField and have triggered a reindex, 80% of
the reindexing is complete. Although when I query the data, I don't see
"myNewCopyFieldName" being returned with the documents.

Is there something wrong with my schema or I need to wait for the indexing
to complete to see the new copyField?



This is my schema (retracted the actual names):

 <fields>
    <field name="key"  type="string" indexed="true"  stored="true"/>
    <field name="1"  type="string" indexed="true"  stored="true"/>
    <field name="2"  type="string" indexed="true"  stored="true"/>
    <field name="3"  type="string" indexed="false"  stored="true"/>
    <field name="4"  type="string" indexed="true"  stored="true"/>
    <field name="5"  type="string" indexed="true"  stored="true"/>
    <field name="6"  type="custom_type" indexed="true"  stored="true"/>
    <field name="7"  type="text_general" indexed="true"  stored="true"/>
    <field name="8"  type="string" indexed="true"  stored="true"/>
    <field name="9"  type="text_general" indexed="true"  stored="true"/>
    <field name="10"  type="text_general" indexed="true"  stored="true"/>
    <field name="11"  type="string" indexed="true"  stored="true"/>
    <field name="12"  type="string" indexed="true"  stored="true"/>
    <field name="13"  type="string" indexed="true"  stored="true"/>
   <field name="myNewCopyFieldName" type="text_general" indexed="true"
stored="true" multiValued="true"/>
 </fields>
<defaultSearchField>4</defaultSearchField><uniqueKey>key</uniqueKey>

<copyField source="1" dest="myNewCopyFieldName"/><copyField source="2"
dest="myNewCopyFieldName"/><copyField source="3"
dest="myNewCopyFieldName"/><copyField source="4"
dest="myNewCopyFieldName"/><copyField source="6"
dest="myNewCopyFieldName"/>

Where:
<fieldType name="custom_type" class="solr.TextField" positionIncrementGap="100">
   <analyzer type="index">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
  <analyzer type="query">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer></fieldType>


and


<fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100">
   <analyzer type="index">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
  <analyzer type="query">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer></fieldType>


-- 
Thanks,
-Utkarsh

Reply via email to