it seems like reserved key words  can't be used as field names did you try
to changes your date field name?

On Thu, May 26, 2011 at 9:54 PM, Jack Repenning <jrepenn...@collab.net>wrote:

> 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
>
>
>
>
>
>
>
>
>
>
>
>


-- 
       Anass

Reply via email to