Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dataConfig>
- <dataSource name="fds" encoding="UTF-8" type="FileDataSource" />
- <document>
- <entity name="try"
- processor="FileListEntityProcessor"
- newerThan="${dataimporter.last_index_time}"
- fileName="sample.txt$"
- rootEntity="false"
- baseDir="/home/karunya/apache-solr-1.4.1/example/exampledocs/"
- >
- <entity name="tryli"
- processor="LineEntityProcessor"
- url="${hathifile.fileAbsolutePath}"
- rootEntity="true"
- dataSource="fds"
- transformer="RegexTransformer"
- >
- <field column="rawLine" regex="^[^\s]*$" groupNames="month" />
- </entity>
- </entity>
- </document>
- </dataConfig>
Advertisement
Add Comment
Please, Sign In to add comment