Change IndexFiles to record term frequency as well?

2011-11-09 Thread Daniel Quach
I am currently using Lucene to index a dump of Wikipedia. I'm using the demo's IndexFiles function for the most part, but I also want to store the term frequency of a document in the index as well, is this possible? Right now, the index just stores the (term -> document pathna

Re: SearchFiles demo fails with exception while IndexFiles works

2009-10-28 Thread s rajan
at 8:34 PM, s rajan wrote: > > hi, I am playing with lucene 2.9.0 source build, ant 1.7.1, jdk1.6.0, win > XP > > home edition. > > I dont have clover or jFlex installed. > > I built the srcs and ran IndexFiles demo and that worked. However when I > run > > Sear

Re: SearchFiles demo fails with exception while IndexFiles works

2009-10-28 Thread Michael McCandless
ce build, ant 1.7.1, jdk1.6.0, win XP > home edition. > I dont have clover or jFlex installed. > I built the srcs and ran IndexFiles demo and that worked. However when I run > SearchFiles > I have an exception that says: > Exception in thread "main" java.lang.Error: Unre

SearchFiles demo fails with exception while IndexFiles works

2009-10-27 Thread s rajan
hi, I am playing with lucene 2.9.0 source build, ant 1.7.1, jdk1.6.0, win XP home edition. I dont have clover or jFlex installed. I built the srcs and ran IndexFiles demo and that worked. However when I run SearchFiles I have an exception that says: Exception in thread "main" java.

Re: IndexFiles

2006-03-16 Thread miki sun
Thank you for reply, my Java run time environment did not work, that's why. It is fixed now. Miki Original Message Follows From: Erik Hatcher <[EMAIL PROTECTED]> Reply-To: java-user@lucene.apache.org To: java-user@lucene.apache.org Subject: Re: IndexFiles Date: Thu, 16 Mar

Re: IndexFiles

2006-03-16 Thread Erik Hatcher
The registry setting is probably irrelevant. What does "java - version" report? Erik On Mar 16, 2006, at 6:07 AM, miki sun wrote: Hi I am trying to use Lucene1.9.1 to index files on my computer. According to the FAQ of the website: - What Java version is required to run Lucene? Luc

IndexFiles

2006-03-16 Thread miki sun
Hi I am trying to use Lucene1.9.1 to index files on my computer. According to the FAQ of the website: - What Java version is required to run Lucene? Lucene 1.4 will run with JDK 1.3 and up but requires at least JDK 1.4 to compile. Lucene >= 1.9 requires Java 1.4. But I got the following error