I'm having an issue getting the splitBy construct from the regex
transformer to work in a very basic case (with either Solr 3.6 or
4.1).

I have a field defined like this:
<field stored="true" name="type" type="string" multiValued="true"/>

The entity is defined like this:
<entity name="item" transformer="RegexTransformer" query="SELECT * FROM test">
  <field column="type" name="type" splitBy=","/>
</entity>

Here's a POM:
http://pastie.org/5992725

A JUnit test case showing the problem:
http://pastie.org/5993437

And a stackoverflow question with the same information:
http://stackoverflow.com/questions/14512055/splitting-database-column-into-multivalued-solr-field

Anyone have any ideas?

Thanks,
Chris

Reply via email to