You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by prabaharanr <de...@gmail.com> on 2017/05/31 14:15:26 UTC

How to achieve ‘splitBy’ in SolrJ?

Hi,
I am trying index records into solr-5.3.1 using solrj ‘addBeans’, is there a
way to specify ‘*splitBy*’ in our POJO ?

Here is my data-config.xml field (which helps DB to Search mappings)
definition
<field column="dbcolumn" name="search-field" splitBy="#"/>

How to achieve this ‘splitBy’ in my POJO ?
@Field(value=" search-field")
private DataType dbcolumn;

Please suggest me get through this.

Thanks




--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-achieve-field-splitBy-in-SolrJ-tp4338201.html
Sent from the Solr - User mailing list archive at Nabble.com.