lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: How a combile to columns of one table to use it as unique key??
Date Sat, 12 May 2012 19:01:50 GMT
The DIH Template Transformer can do this, such as in:

<entity name="e" transformer="TemplateTransformer" ..>
<field column="namedesc" template="hello${e.name},${eparent.surname}" />
...
</entity>

You can combine input column values as well as literal strings.

See:
http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer

-- Jack Krupansky

-----Original Message----- 
From: divya
Sent: Friday, May 11, 2012 2:55 PM
To: solr-user@lucene.apache.org
Subject: How a combile to columns of one table to use it as unique key??

I want to combine two colums of a table to use it as unique key, say
customer table.i want to make (customeID,customerorganizationID) a uniqueKey
for my indexing document. how can i achieve this

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-a-combile-to-columns-of-one-table-to-use-it-as-unique-key-tp3980737.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message