Hi Koji,
Yes of course i have RegexTransformer" in my <entity/>.
What i'm not sure is the syntax of this <field column="source"
xpath="/product/url" regex=XXXX" /> i don't need any other parameter here?
Rosa
Le 25/02/2011 12:21, Koji Sekiguchi a écrit :
Hi Rosa,
Are you sure you have transformer="RegexTransformer" in your <entity/>?
My question was more about the solr DIH syntax. It doesn't work
either with the new regex.
Especially the syntax for this:
<field column="source" xpath="/product/url"
regex="http:\/\/(.*?)\/(.*)" /> <--- Is it correct? (not
the regex, the syntax)?
In this case, I think you need to have two field names in groupNames,
because you have two groups "(.*?)" & "(.*)" in your regex.
But I'm not confident. Please try if you'd like...
Koji