[
https://issues.apache.org/jira/browse/LUCENE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006269#comment-13006269
]
Doron Cohen commented on LUCENE-2958:
-------------------------------------
Rethinking this suggestion, I am afraid it will easily lead users to
errors/mistakes - users would have to be aware:
"did I create that file with a header? Mmm... so I must use the source which
handles the header, and that file is with the default settings, so it needs the
simple reader, but man, did I set it to create the header anyhow... I don't
remember, I'll recreate the file..."
Maybe some users will remember such things, but I know that I will not
remember, and a line-reader that handles correctly all inputs out-of-the-box is
much more convenient... which is what I liked in the header suggestion.
> WriteLineDocTask improvements
> -----------------------------
>
> Key: LUCENE-2958
> URL: https://issues.apache.org/jira/browse/LUCENE-2958
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Minor
> Fix For: 3.2, 4.0
>
> Attachments: LUCENE-2958.patch, LUCENE-2958.patch, LUCENE-2958.patch,
> LUCENE-2958.patch
>
>
> Make WriteLineDocTask and LineDocSource more flexible/extendable:
> * allow to emit lines also for empty docs (keep current behavior as default)
> * allow more/less/other fields
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]