On Montag 15 Mai 2006 14:54, Franz Coriand wrote: > is it possible not only to get the document which contains the words of > a query, but also get the position in the text of the query word?
Yes, by using the term vectors with positions that were added in Lucene 1.9 (see class Field.TermVector). Or you could re-analyze the text and iterate over the tokens returned by the analyzer. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]