Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 94371 invoked from network); 16 Feb 2011 20:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 20:04:48 -0000 Received: (qmail 61824 invoked by uid 500); 16 Feb 2011 20:04:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 61563 invoked by uid 500); 16 Feb 2011 20:04:46 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 61515 invoked by uid 99); 16 Feb 2011 20:04:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 20:04:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 20:04:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A1E971A9157 for ; Wed, 16 Feb 2011 20:04:25 +0000 (UTC) Date: Wed, 16 Feb 2011 20:04:25 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <66927432.899.1297886665659.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <862538004.816.1297884684401.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (LUCENE-2923) cleanup contrib/demo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org