Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 26880 invoked from network); 8 Mar 2006 21:19:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 21:19:20 -0000 Received: (qmail 28349 invoked by uid 500); 8 Mar 2006 21:19:20 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 28159 invoked by uid 500); 8 Mar 2006 21:19:19 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 28147 invoked by uid 99); 8 Mar 2006 21:19:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 13:19:19 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 13:19:17 -0800 Received: by ehatchersolutions.com (Postfix, from userid 504) id DFE0F33D30C; Wed, 8 Mar 2006 16:18:56 -0500 (EST) Received: from [128.143.167.108] (d-128-167-108.bootp.Virginia.EDU [128.143.167.108]) by ehatchersolutions.com (Postfix) with ESMTP id AFACC33D30B for ; Wed, 8 Mar 2006 16:18:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <35BC0F68E95E08478BEC1264B3B22FA502B584@exchange01.ClearlyUnderstood.local> References: <35BC0F68E95E08478BEC1264B3B22FA502B584@exchange01.ClearlyUnderstood.local> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <899CD13D-7DD4-4226-94F8-169789ACC320@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: Lucene on Windows Date: Wed, 8 Mar 2006 16:18:52 -0500 To: general@lucene.apache.org X-Mailer: Apple Mail (2.746.2) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on javelina X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mar 8, 2006, at 3:53 PM, Charles Wunderlich wrote: >> Again you've missed a key piece of the command-line... the actual >> classname. > Can you provide example so I can better understand? Knowing my > configuration, what would be a valid command line for indexing a > folder > (p:/files)? In your second example, you did specify the command-line with the classname, so my apologies for not mentioning that in my last message. However, you were using the command-line from "Lucene in Action" using its custom code but without actually providing the code from Lucene in Action in your classpath. >> You are also apparently trying to run the demo that ships >> with Lucene using a code example from "Lucene in Action" - these two >> are completely separate. > I really don't care about a demo, I just need to index and search > files > for now. I'll have more time to learn more later. > I downloaded Lucene from lucene.apache.org. Please feel free to > educate > me. I've searched several groups and found several people having > similar > issues, but I couldn't find a solution. Unfortunately Lucene isn't quite that deployable out of the box so easily. The demo that comes with Lucene can provide a quick way to do what you're after, but it is not flexible and is not something you're likely to want to live with for very long. However, since you're apparently new to Java and Lucene, the demo is perhaps your best bet to go with for starters. Lucene in Action describes using the demo in great detail in Appendix A. It seems from your previous message mentioning the book that you have it. If so, follow the instructions in Appendix A exactly and you should be in business. There are also instructions publicly available on Lucene's website: Either should do the trick for your needs. >> If you want to run the demo and have Lucene in Action, reference the >> appendix that describes running it in great detail. Also, be sure to >> pay particular attention to the _exact_ command-lines provided. > > I need to: > 1) Index thousands of files in sub directories (p:/files/1980, > p:/files/1981,..., p:/files/2006). I expect this to take some time > index. > > 2) Search indexed data via web front end that my programmer will > create. Best wishes, Erik