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

Uwe Schindler commented on LUCENE-2923:
---------------------------------------

Yeah, we remove the optimize. Too many people tell me exactly that they should 
optimize because they see it in almost every demo code. Optimizing is with 
recent Lucene versions not needed anymore. It's hard to explain to people, so 
example code and books should never tell to optimize. In books about lucene 
there should also be an explanation when optimizing is needed or usefully, put 
prevent people from always doing this.

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

Reply via email to