I have seen the example SAX based XML processing in the Lucene sandbox (thanks to the authors for contributing!) and have successfully adapted this approach for my application. The one thing that does not sit well with me is the fact that I am using the method Field.Text(String, String) instead of the Field.Text(String, Reader) version, which means I am storing the contents in the index.
So use Field.UnStored(String, String) then. It is the same as Field.Text(String, Reader).
The static "factory" methods on Field are merely for convenience. You can control all the flags yourself using the constructor:
public Field(String name, String string, boolean store, boolean index, boolean token)
2. If storing the content is going to adversaly effect searching, has anyone written an XMLReader that extends java.io.Reader.
You could always use a StringReader wrapper :))
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]