> > And how can I find the offsets of something like "foo bar"? > I think > > this > > will get tokenized into 2 terms and thus I have no chance to find > > it, right? > > I wouldn't say no chance... TermVectorMapper would be good > for this, > as you can watch the terms as they are being loaded. Just > keep track > of your last term and see if it is "foo", when you hit "bar" > > What kind of special term are you looking for? There may be other > ways of solving your problem...
Well. I do not only want to find documents with a certain phrase but the positions of these phrases (e.g. "foo bar") in the document too. It must be possible I think because a highlighter can do it? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]