Adding new Fields ?

View: New views
9 Messages — Rating Filter:   Alert me  

Adding new Fields ?

by Saeli Mathieu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 ?

--
Saeli Mathieu.

Re: Adding new Fields ?

by Erik Hatcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


Re: Adding new Fields ?

by Saeli Mathieu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yep I know that, I almost add more than 60 lines in this file :)
It's just an example.

Do you have any idea why when I'm trying to search something, the result of
Solr is equal to 0 ?

I'm looking forward to read you.

--
Saeli Mathieu.

Re: Adding new Fields ?

by Erik Hatcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jul 8, 2009, at 8:10 AM, Saeli Mathieu wrote:

> Yep I know that, I almost add more than 60 lines in this file :)
> It's just an example.
>
> Do you have any idea why when I'm trying to search something, the  
> result of
> Solr is equal to 0 ?

The first place I start with a general question like is add  
&debugQuery=true and see what the query expression is parsed to, then  
go from there to find out if that is the actually intended query  
(proper fields being used, etc) and then back into the analysis  
process and the data that was indexed.  analysis.jsp comes in real  
handy troubleshooting these things.

        Erik


Re: Adding new Fields ?

by Saeli Mathieu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The research debug is bit wired...

I'll give you a typical example.

I want to find, this word "Cycle"

the field in my xml file is this one
"
<add>
<doc>
......
<field name="lomclassificationtaxonPathtaxonentrystring">Cycle 2</field>
........
</doc>
</add>"

This field is refered in my schema.xml by this way.

"
<fields>
<field name="lomclassificationtaxonPathtaxonentrystring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
</fields>"

and
" <copyfield source="lomclassificationtaxonPathtaxonentrystring"
dest="text"/>"

Here is my research in debug mode with this request
http://localhost:8983/solr/select?indent=on&version=2.2&q=Cycle&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&debugQuery=on&explainOther=&hl.fl=


"
-<response>
-<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
-<lst name="params">
<str name="explainOther"/>
<str name="fl">*,score</str>
<str name="debugQuery">on</str>
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">Cycle</str>
<str name="hl.fl"/>
<str name="qt">standard</str>
<str name="wt">standard</str>
<str name="version">2.2</str>
<str name="rows">10</str>
</lst>
</lst>
<result name="response" numFound="0" start="0" maxScore="0.0"/>
-<lst name="debug">
<str name="rawquerystring">Cycle</str>
<str name="querystring">Cycle</str>
<str name="parsedquery">text:cycl</str>
<str name="parsedquery_toString">text:cycl</str>
<lst name="explain"/>
<str name="QParser">OldLuceneQParser</str>
-<lst name="timing">
<double name="time">0.0</double>
-<lst name="prepare">
<double name="time">0.0</double>
-<lst name="org.apache.solr.handler.component.QueryComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.FacetComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.HighlightComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.DebugComponent">
<double name="time">0.0</double>
</lst>
</lst>
-<lst name="process">
<double name="time">0.0</double>
-<lst name="org.apache.solr.handler.component.QueryComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.FacetComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.HighlightComponent">
<double name="time">0.0</double>
</lst>
-<lst name="org.apache.solr.handler.component.DebugComponent">
<double name="time">0.0</double>
</lst>
</lst>
</lst>
</lst>
</response>
"

I don't know what I'm missing :/

Because I think I add all the necessary information in schema.xml.

--
Saeli Mathieu.

Re: Adding new Fields ?

by Saeli Mathieu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't really know how to solve my problem :/

On Wed, Jul 8, 2009 at 3:16 PM, Saeli Mathieu <saeli.mathieu@...>wrote:

> The research debug is bit wired...
>
> I'll give you a typical example.
>
> I want to find, this word "Cycle"
>
> the field in my xml file is this one
> "
> <add>
> <doc>
> ......
> <field name="lomclassificationtaxonPathtaxonentrystring">Cycle 2</field>
> ........
> </doc>
> </add>"
>
> This field is refered in my schema.xml by this way.
>
> "
> <fields>
> <field name="lomclassificationtaxonPathtaxonentrystring" type="text"
> indexed="true" stored="true" multiValued="true" omitNorms="true"
> termVectors="true" />
> </fields>"
>
> and
> " <copyfield source="lomclassificationtaxonPathtaxonentrystring"
> dest="text"/>"
>
> Here is my research in debug mode with this request
> http://localhost:8983/solr/select?indent=on&version=2.2&q=Cycle&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&debugQuery=on&explainOther=&hl.fl=
>
>
> "
> -<response>
> -<lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">0</int>
> -<lst name="params">
> <str name="explainOther"/>
> <str name="fl">*,score</str>
> <str name="debugQuery">on</str>
> <str name="indent">on</str>
> <str name="start">0</str>
> <str name="q">Cycle</str>
> <str name="hl.fl"/>
> <str name="qt">standard</str>
> <str name="wt">standard</str>
> <str name="version">2.2</str>
> <str name="rows">10</str>
> </lst>
> </lst>
> <result name="response" numFound="0" start="0" maxScore="0.0"/>
> -<lst name="debug">
> <str name="rawquerystring">Cycle</str>
> <str name="querystring">Cycle</str>
> <str name="parsedquery">text:cycl</str>
> <str name="parsedquery_toString">text:cycl</str>
> <lst name="explain"/>
> <str name="QParser">OldLuceneQParser</str>
> -<lst name="timing">
> <double name="time">0.0</double>
> -<lst name="prepare">
> <double name="time">0.0</double>
> -<lst name="org.apache.solr.handler.component.QueryComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.FacetComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.HighlightComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.DebugComponent">
> <double name="time">0.0</double>
> </lst>
> </lst>
> -<lst name="process">
> <double name="time">0.0</double>
> -<lst name="org.apache.solr.handler.component.QueryComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.FacetComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.HighlightComponent">
> <double name="time">0.0</double>
> </lst>
> -<lst name="org.apache.solr.handler.component.DebugComponent">
> <double name="time">0.0</double>
> </lst>
> </lst>
> </lst>
> </lst>
> </response>
> "
>
> I don't know what I'm missing :/
>
> Because I think I add all the necessary information in schema.xml.
>
> --
> Saeli Mathieu.
>



--
Saeli Mathieu.

Re: Adding new Fields ?

by Jon Gorman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think at least you need to review your import process.  If nothing
indexed, there's going to be nothing that matched.  We need a little
more information.  Stuff like a short but concise test sample of what
you're trying to index, how you're submitting the http request and the
commit request (you did commit, right?), what messages you're getting
when you do index and then commit.

I didn't look too closely at your last code example, but I would
recommend using some XML libraries.  If I remember it didn't.

Most folks seem to process xml files for indexing by using the source
xml files to create new files just for indexing.  There's an
identifier, which is usually used to link back to the source xml file
in the application you design.

Jon Gorman

Re: Adding new Fields ?

by Erick Erickson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you thought about looking at your index with Luke to see ifwhat you
expect to be there is actually there?

Best
Erick

On Wed, Jul 8, 2009 at 11:28 AM, Jon Gorman <jonathan.gorman@...>wrote:

> I think at least you need to review your import process.  If nothing
> indexed, there's going to be nothing that matched.  We need a little
> more information.  Stuff like a short but concise test sample of what
> you're trying to index, how you're submitting the http request and the
> commit request (you did commit, right?), what messages you're getting
> when you do index and then commit.
>
> I didn't look too closely at your last code example, but I would
> recommend using some XML libraries.  If I remember it didn't.
>
> Most folks seem to process xml files for indexing by using the source
> xml files to create new files just for indexing.  There's an
> identifier, which is usually used to link back to the source xml file
> in the application you design.
>
> Jon Gorman
>

Re: Adding new Fields ?

by Saeli Mathieu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is my result when I'm adding a file to solr

{pix@framboise.}:java -jar post.jar
FinalParsing.xml
[18:37]#25
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
other encodings are not currently supported
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file FinalParsing.xml
SimplePostTool: COMMITting Solr index changes..
{pix@framboise.}:


Here is my typical xml file.

<add>
<doc>
   <field name="id">0</field>
        <field name="lomgeneralidentifiercatalog">TEXT</field>
        <field name="lomgeneralidentifierentry">TEXT</field>
        <field name="lomgeneraltitlestring">TEXT</field>
        <field name="lomgenerallanguage">TEXT</field>
        <field name="lomgeneraldescriptionstring">TEXT</field>
        <field name="lomlifeCyclestatussource">TEXT</field>
        <field name="lomlifeCyclestatusvalue">TEXT</field>
        <field name="lomlifeCyclecontributerolesource">TEXT</field>
        <field name="lomlifeCyclecontributerolevalue">TEXT</field>
        <field name="lomlifeCyclecontributeentity">TEXT</field>
        <field name="lommetaMetadataidentifiercatalog">TEXT</field>
        <field name="lommetaMetadataidentifierentry">TEXT</field>
        <field name="lommetaMetadatacontributerolesource">TEXT</field>
        <field name="lommetaMetadatacontributerolevalue">TEXT</field>
        <field name="lommetaMetadatacontributeentity">TEXT</field>
        <field name="lommetaMetadatacontributedatedateTime">TEXT</field>
        <field name="lommetaMetadatacontributerolesource">TEXT</field>
        <field name="lommetaMetadatacontributerolevalue">TEXT</field>
        <field name="lommetaMetadatacontributeentity">TEXT</field>
        <field name="lommetaMetadatacontributeentity">TEXT</field>
        <field name="lommetaMetadatacontributeentity">TEXT</field>
        <field name="lommetaMetadatacontributedatedateTime">TEXT</field>
        <field name="lommetaMetadatametadataSchema">TEXT</field>
        <field name="lommetaMetadatalanguage">TEXT</field>
        <field name="lomtechnicallocation">TEXT</field>
        <field name="lomeducationalintendedEndUserRolesource">TEXT</field>
        <field name="lomeducationalintendedEndUserRolevalue">TEXT</field>
        <field name="lomeducationalcontextsource">TEXT</field>
        <field name="lomeducationalcontextvalue">TEXT</field>
        <field name="lomeducationaltypicalAgeRangestring">TEXT</field>
        <field name="lomeducationaltypicalAgeRangestring">TEXT</field>
        <field name="lomeducationaldescriptionstring">TEXT</field>
        <field name="lomeducationallanguage">TEXT</field>
        <field name="lomannotationentity">TEXT</field>
        <field name="lomannotationdatedateTime">TEXT</field>
        <field name="lomannotationdescriptionstring">TEXT</field>
        <field name="lomclassificationpurposesource">TEXT</field>
        <field name="lomclassificationpurposevalue">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
        <field name="lomclassificationpurposesource">TEXT</field>
        <field name="lomclassificationpurposevalue">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
        <field name="lomclassificationpurposesource">TEXT</field>
        <field name="lomclassificationpurposevalue">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
        <field name="lomclassificationtaxonPathsourcestring">TEXT</field>
        <field name="lomclassificationtaxonPathtaxonid">TEXT</field>
        <field
name="lomclassificationtaxonPathtaxonentrystring">TEXT</field>
</doc>
</add>

here is my schema.xml configuration.

<fields>
 <field name="id" type="string" indexed="true" stored="true" required="true"
/>
      <field name="sku" type="textTight" indexed="true" stored="true"
omitNorms="true"/>
      <field name="name" type="text" indexed="true" stored="true"/>
      <field name="nameSort" type="string" indexed="true" stored="false"/>
      <field name="alphaNameSort" type="alphaOnlySort" indexed="true"
stored="false"/>
      <field name="manu" type="text" indexed="true" stored="true"
omitNorms="true"/>
      <field name="cat" type="text_ws" indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="features" type="text" indexed="true" stored="true"
multiValued="true"/>
      <field name="includes" type="text" indexed="true" stored="true"/>
      <field name="lomgeneral" type="text"  indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneralidentifier" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneralidentifiercatalog" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneralidentifierentry" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneraltitle" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneraltitlestring" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgenerallanguage" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneraldescription" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomgeneraldescriptionstring" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCycle" type="text"  indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclestatus" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclestatussource" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclestatusvalue" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclecontribute" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclecontributerole" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomlifeCyclecontributerolesource" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomlifeCyclecontributerolevalue" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomlifeCyclecontributeentity" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lommetaMetadata" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lommetaMetadataidentifier" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lommetaMetadataidentifiercatalog" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadataidentifierentry" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontribute" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lommetaMetadatacontributerole" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontributerolesource" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontributerolevalue" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontributeentity" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontributedate" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatacontributedatedateTime" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatametadataSchema" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lommetaMetadatalanguage" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomtechnical" type="text"  indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomtechnicallocation" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      f<ield name="lomeducational" type="text"  indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomeducationalintendedEndUserRole" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomeducationalintendedEndUserRolesource" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomeducationalintendedEndUserRolevalue" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomeducationalcontext" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomeducationalcontextsource" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomeducationalcontextvalue" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomeducationaltypicalAgeRangestring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomeducationaldescription" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomeducationaldescriptionstring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomeducationallanguage" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotation" type="text"  indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotationentity" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotationdate" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotationdatedateTime" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotationdescription" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomannotationdescriptionstring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassification" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomclassificationpurpose" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomclassificationpurposesource" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationpurposevalue" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPath" type="text"  indexed="true"
stored="true" multiValued="true" omitNorms="true" termVectors="true" />
      <field name="lomclassificationtaxonPathsource" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPathsourcestring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPathtaxon" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPathtaxonentry" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPathtaxonentrystring" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
      <field name="lomclassificationtaxonPathtaxonid" type="text"
indexed="true" stored="true" multiValued="true" omitNorms="true"
termVectors="true" />
</fields>



 <copyField source="id" dest="sku"/>

    <copyField source="incubationdate_dt" dest="incubationdate_s"/>
    <copyField source="cat" dest="text"/>
    <copyfield source="lomgeneral" dest="text" />
    <copyfield source="lomgeneralidentifier" dest="text" />
    <copyfield source="lomgeneralidentifiercatalog" dest="text"  />
    <copyfield source="lomgeneralidentifierentry" dest="text" />
    <copyfield source="lomgeneraltitle"  dest="text"/>
    <copyfield source="lomgeneraltitlestring" dest="text"/>
    <copyfield source="lomgenerallanguage"  dest="text"/>
    <copyfield source="lomgeneraldescription" dest="text"/>
    <copyfield source="lomgeneraldescriptionstring" dest="text"/>
    <copyfield source="lomlifeCycle"  dest="text"/>
    <copyfield source="lomlifeCyclestatus" dest="text"/>
    <copyfield source="lomlifeCyclestatussource" dest="text"/>
    <copyfield source="lomlifeCyclestatusvalue" dest="text"/>
    <copyfield source="lomlifeCyclecontribute"  dest="text"/>
    <copyfield source="lomlifeCyclecontributerole"  dest="text" />
    <copyfield source="lomlifeCyclecontributerolesource" dest="text" />
    <copyfield source="lomlifeCyclecontributerolevalue"  dest="text" />
    <copyfield source="lomlifeCyclecontributeentity"  dest="text" />
    <copyfield source="lommetaMetadata"    dest="text" />
    <copyfield source="lommetaMetadataidentifier" dest="text" />
    <copyfield source="lommetaMetadataidentifiercatalog" dest="text" />
    <copyfield source="lommetaMetadataidentifierentry" dest="text" />
    <copyfield source="lommetaMetadatacontribute" dest="text" />
    <copyfield source="lommetaMetadatacontributerole" dest="text" />
    <copyfield source="lommetaMetadatacontributerolesource" dest="text" />
    <copyfield source="lommetaMetadatacontributerolevalue"  dest="text"  />
    <copyfield source="lommetaMetadatacontributeentity"  dest="text" />
    <copyfield source="lommetaMetadatacontributedate" dest="text" />
    <copyfield source="lommetaMetadatacontributedatedateTime" dest="text" />
    <copyfield source="lommetaMetadatametadataSchema"  dest="text" />
    <copyfield source="lommetaMetadatalanguage"  dest="text" />
    <copyfield source="lomtechnical"  dest="text"  />
    <copyfield source="lomtechnicallocation" dest="text" />
    <copyfield source="lomeducational" dest="text"  />
    <copyfield source="lomeducationalintendedEndUserRole" dest="text" />
    <copyfield source="lomeducationalintendedEndUserRolesource" dest="text"
/>
    <copyfield source="lomeducationalintendedEndUserRolevalue" dest="text"
/>
    <copyfield source="lomeducationalcontext" dest="text" />
    <copyfield source="lomeducationalcontextsource" dest="text" />
    <copyfield source="lomeducationalcontextvalue"  dest="text" />
    <copyfield source="lomeducationaltypicalAgeRangestring"  dest="text" />
    <copyfield source="lomeducationaldescription"  dest="text" />
    <copyfield source="lomeducationaldescriptionstring"  dest="text" />
    <copyfield source="lomeducationallanguage" dest="text" />
    <copyfield source="lomannotation"  dest="text" />
    <copyfield source="lomannotationentity" dest="text" />
    <copyfield source="lomannotationdate" dest="text" />
    <copyfield source="lomannotationdatedateTime"  dest="text" />
    <copyfield source="lomannotationdescription" dest="text" />
    <copyfield source="lomannotationdescriptionstring"  dest="text" />
    <copyfield source="lomclassification" dest="text" />
    <copyfield source="lomclassificationpurpose"  dest="text" />
    <copyfield source="lomclassificationpurposesource"  dest="text" />
    <copyfield source="lomclassificationpurposevalue"  dest="text" />
    <copyfield source="lomclassificationtaxonPath"  dest="text" />
    <copyfield source="lomclassificationtaxonPathsource"  dest="text" />
    <copyfield source="lomclassificationtaxonPathsourcestring" dest="text"
/>
    <copyfield source="lomclassificationtaxonPathtaxon"  dest="text"/>
    <copyfield source="lomclassificationtaxonPathtaxonentry" dest="text"/>
    <copyfield source="lomclassificationtaxonPathtaxonentrystring"
dest="text"/>
    <copyfield source="lomclassificationtaxonPathtaxonid"  dest="text"/>
    <copyField source="name" dest="text"/>
    <copyField source="name" dest="nameSort"/>
    <copyField source="name" dest="alphaNameSort"/>
    <copyField source="manu" dest="text"/>
    <copyField source="features" dest="text"/>
    <copyField source="includes" dest="text"/>
    <copyField source="manu" dest="manu_exact"/>
    <copyField source="name" dest="spell"/>

--
Saeli Mathieu.