Are there some sort of rules about what sort of fields can be copyFielded into 
other fields?

My schema has (among other things):

>    <field name="date"         type="tdate"   indexed="true"  stored="true"  
> required="true"  />
>    <field name="user"         type="string"  indexed="true"  stored="true"  
> required="true"  />
>    <field name="text"         type="textgen" indexed="true"  stored="true" 
> required="false"
>         multiValued="true" />
> ...
>  <copyField source="user" dest="text"/>
>  <copyfield source="date" dest="text"/>
> 

The "user" field gets copied into "text" just fine, but the "date" field does 
not. 

In case they're handy, I've attached:
 - schema.xml - the complete schema
 - solr-usr-question.xml - a sample doc
 - solr-usr-answer.xml - the result in the searchbase


-==-
Jack Repenning
Technologist
Codesion Business Unit
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
twitter: http://twitter.com/jrep


Attachment: schema.xml
Description: XML document

Attachment: solr-usr-question.xml
Description: XML document

Attachment: solr-usr-answer.xml
Description: XML document







Reply via email to