Le 19 avr. 05, à 22:50, Erik Hatcher a écrit :
The only catch that I know if is that an Analyzer is invoked on a per-field basis. I can't tell exactly what you have in mind, but a Lucene Analyzer cannot split data into separate fields itself - it has to have been split prior.
That's an easy one... ok, yes, I was clearly aware of this.
I'm indexing a lot of XML myself, with JDOM in the middle, and using XPath to extract data per field before building the Document.
So wouldn't Field.Unstored(Object) actually make sense ?
That object, instead of being a reader, would be passed around till the analyzer call which would then decide to accept, say, JDOM objects...
paul
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]