[ 
https://issues.apache.org/jira/browse/LUCENE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005647#comment-13005647
 ] 

Michael McCandless commented on LUCENE-2958:
--------------------------------------------

So the separation we have today of DocData from DocMaker allows what 
flexibility?  Is it just so that we can pull multiple docs from a single 
DocData?  EG the line file could have massive docs, but we want to index tiny 
docs, so DocMaker can split them up?

I agree that's useful... but it does result in somewhat synthetic docs.  EG 20 
docs in a row will have the same title and date (and any other properties).  If 
you are eval'ing a standard corpus, presumably you don't do this doc splitting, 
right?

The flexibility can only cost us performance (though maybe it's not so much of 
a hit).

> 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
>
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to