« Return to Thread: Adding new Fields ?

Re: Adding new Fields ?

by Erik Hatcher :: Rate this Message:

Reply to Author | View in Thread


On Jul 8, 2009, at 7:06 AM, Saeli Mathieu wrote:

> Hello.
>
> I posted recently in this ML a script to transform any xml files in  
> Solr's
> xml files.
> Anyway.
> I've got a problem when I want to index my file, the indexation  
> script from
> the demonstration works perfectly, but now the only problem is, I  
> can make
> any research on this document.
>
> I added
>
>
> <field name="lomgeneralidentifier" type="text"  indexed="true"  
> stored="true"
> multiValued="true" omitNorms="true" termVectors="true" />
> and
> <copyfield source="lomgeneralidentifierentry" dest="text" />
>
> In schema.xml file.
>
>
> Did I forgot something ?

your field name is not the same as your copyfield source (note the  
"entry" on the source attribute)

        Erik

 « Return to Thread: Adding new Fields ?