Re: Configuration

2014-12-10 Thread Tomoko Uchida
Hi Christopher, At my environment, IndexFiles demo works fine. May be you must give directory path including source data you want to index after '-docs'. For example, $ ls /path/to/source/dir aaa.txt bbb.txt $ java -cp "demo/lucene-demo-4.10.2.jar:analysis/common/lucene-analyzers-common-4.10.2

Configuration

2014-12-10 Thread Christopher So
Hi all, I am trying to get the demo for Lucene to run but I am running into a problem. When I try to run the IndexFiles command through the command prompt I get an ArrayOutOfBoundsException at org.apache.lucene.demo.IndexFiles.main. The line that I put into the prompt is java -classpath C:\Use

Re: o.a.l.u.fst package's sample code might be outdated?

2014-12-10 Thread Tomoko Uchida
Sorry, I paste a wrong link... > I run the "FST Construction example:" code in package.html with lucene 4.10.2, and saw a compile error. > http://lucene.apache.org/core/4_10_2/core/index.html I run the "FST Construction example:" code in package.html with lucene 4.10.2, and saw a compile error. h

o.a.l.u.fst package's sample code might be outdated?

2014-12-10 Thread Tomoko Uchida
Hi, I run the "FST Construction example:" code in package.html with lucene 4.10.2, and saw a compile error. http://lucene.apache.org/core/4_10_2/core/index.html Error ocurred at this line. builder.add(Util.toIntsRef(scratchBytes, scratchInts), outputValues[i]); Consulting with Javadoc, I found U