lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Gutierrez <>
Subject Error with and
Date Thu, 25 Apr 2002 14:51:15 GMT
Hi there...

Using the latest version of "StandardTokenizer.jj" (revision 1.2) and 
JavaCC (ver 2.1) I get 7 java files, among them and

The Token Class has this atributes

public final class Token {
String termText; // the text of the term
int startOffset; // start in source text
int endOffset; // end in source text
String type = "word"; // lexical type

And the StandardTokenizer in it's next() function has this code:

new org.apache.lucene.analysis.Token(token.image,

Where the variable Token should have these attributes:

Giving an error of Variable not found.
Why is this error happening?? Do I have to manually modify the file created 
by JavaCC???

To compile the code I have I am using JBuilder 6, so I will not get any 
error that ANT could show.

Any suggestions why this discrepancy in variables between an happens??


Jacob GutiƩrrez R.
Cochabamba - Bolivia

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message