Chris Hostetter wrote:
: why your are getting that error...that is the type of error you would get if
: you were trying to use IndexReaders Protected constructor outside the index
: package...but you are correctly using the static open call...
not quite...
: > IndexReader ir = new IndexReader().open(fsDir);
...that should be...
IndexReader ir = IndexReader.open(fsDir);
..correct?
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am sadly lost without my syntax Highlighting :) Nice catch.
You need to use the static method rather than try and instantiate a new
IndexReader and then call the static method on the instantiated object.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]