[
https://issues.apache.org/jira/browse/NUTCH-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tejas Patil updated NUTCH-1118:
-------------------------------
Attachment: NUTCH-1118.patch
Wrote a test case which checks following:
1. basic searchable fields are added to a document
2. domain is added as per "indexer.add.domain"
3. title is truncated as per indexer.max.title.length"
4. content is truncated as per indexer.max.content.length
Attached the patch. Please let me know your comments.
> JUnit test for index-basic
> --------------------------
>
> Key: NUTCH-1118
> URL: https://issues.apache.org/jira/browse/NUTCH-1118
> Project: Nutch
> Issue Type: Sub-task
> Components: build
> Affects Versions: 1.4
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 1.7
>
> Attachments: NUTCH-1118.patch
>
>
> This issue is part of the larger attempt to provide a Junit test case for
> every Nutch plugin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira