Is there any particular reason why SpanQuery introduced
public Collection getTerms()
when we have:
public void extractTerms(Set terms)
in Query?
I am changing the highlighter to make use of extractTerms and can either
add this to SpanQuery:
public void extractTerms(Set terms) {
terms.addAll(getTerms());
}
or (perhaps more riskily) consider removing getTerms() completely from
SpanQueries and replace with extractTerms.
Thoughts?
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]