[
https://issues.apache.org/jira/browse/LUCENE-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995518#comment-12995518
]
Mark Miller commented on LUCENE-2923:
-------------------------------------
bq. I don't think we should include optimize in the demo;
I wonder if it wouldn't be better to leave it, but commented out - with a short
explanation.
Optimizing is not necessary, but it clearly has benefits to query perf! If you
are not updating often, I think it can make perfect sense.
So I'm fine with just dropping, but not sure if commenting it out and putting
something like:
// for an index that is not updated often, we might optimize now
or variation...
> cleanup contrib/demo
> --------------------
>
> Key: LUCENE-2923
> URL: https://issues.apache.org/jira/browse/LUCENE-2923
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2923.patch
>
>
> I don't think we should include optimize in the demo; many people start from
> the demo and may think you must optimize to do searching, and that's clearly
> not the case.
> I think we should also use a buffered reader in FileDocument?
> And... I'm tempted to remove IndexHTML (and the html parser) entirely. It's
> ancient, and we now have Tika to extract text from many doc formats.
--
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]