solr

 Hi

 

I'm  trying to create Solr index from oracle db.

the trick is that i'm using multivalue field in solr, and expect from solr to split the value to multi value field.

here is my data-config.xml

<document name="doc">           
            <entity name="EBAYSE_CORE" transformer="RegexTransformer"
                      query="SELECT id,value1 FROM multivalue" >

                <field column="id" name="id" />
                <field column="value1" name="value1" splitBy="\;" />

            </entity>
        </document>

here is the schema.xml:

itaip 05/01/2012 - 16:30
Syndicate content