thank you guys, i'll start doing some work too, and if i end up with something i'll send to the mailing list. some time ago i posted a message about a good implementation of the highlighter, shortly, what is needed is the term position in the document. I know i can highlight without have a list of indexed terms, just using the ones in the query, but RegExp (as i think the only way to do it) are very slow, especially in big document and with heavy petterns, there are already e few pattern to add to a term, like deliters, CR, etc, etc. I hear about possibility of get this positions with TermPositions, but my api knowledges are limited, so with a few hints, i might do some work. Thank you,
korfut. -- On Tue, 25 Feb 2003 18:27:55 Tatu Saloranta wrote: >On Tuesday 25 February 2003 10:41, Doug Cutting wrote: >> none none wrote: >> > On Mon, 24 Feb 2003 10:04:30 >> > >> > Doug Cutting wrote: >... >> So, Tatu, if you do get to implementing your proposal, please take this >> into account. There are potentially two different things that folks >> might want: (1) the list of terms which are literally in the query, >> e.g., "foo*" for a wildcard query; (2) the list of indexed terms which >> match clauses in the query, e.g., "fool" and "foosball" for the query >> "foo*". The latter is considerably more expensive to compute, but might >> be more useful in term highlighting. (Note that you could do term >> highliting without this, by matching terms in the text directly to the >> wildcarded pattern.) > >Yes, actually I started thinking the same thing after reading your previous >explanation about wild card terms... there are two distinct use cases to >cover. > >-+ Tatu +- > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
