Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 63996 invoked from network); 13 Mar 2008 11:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2008 11:50:33 -0000 Received: (qmail 3154 invoked by uid 500); 13 Mar 2008 11:50:30 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 3079 invoked by uid 500); 13 Mar 2008 11:50:30 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 3068 invoked by uid 99); 13 Mar 2008 11:50:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 04:50:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 11:49:50 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id B4EDED2E6 for ; Thu, 13 Mar 2008 11:50:01 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: java-commits@lucene.apache.org Date: Thu, 13 Mar 2008 11:50:01 -0000 Message-ID: <20080313115001.5812.48319@eos.apache.org> Subject: [Lucene-java Wiki] Update of "LuceneFAQ" by FrankRalphReiser X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification. The following page has been changed by FrankRalphReiser: http://wiki.apache.org/lucene-java/LuceneFAQ The comment on the change is: Changed the paragraph "how to index java sources" a little ------------------------------------------------------------------------------ ==== How can I index java source files? ==== - There is an article at http://www.onjava.com/pub/a/onjava/2006/01/18/using-lucene-to-search-java-source.html - Note that the article uses an older version of apache lucene. For parsing the java source files, the ASTParser of the eclipse framework is used. + There is an [http://www.onjava.com/pub/a/onjava/2006/01/18/using-lucene-to-search-java-source.html article at onjava.com] that describes an example on how to index java sources not just as text files, but distinguishing between the different information like superclass, implented interfaces, methods, imported classes etc. + + Note that the article uses an older version of apache lucene. For parsing the java source files and extracting that information, the [http://help.eclipse.org/help33/topic/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/dom/ASTParser.html ASTParser] of the [http://www.eclipse.org/jdt/ eclipse java development tools] is used. ==== If I use a compound file-style index, can I still optimize my index? ====