Re: SpanQuery doesn't implement extractTerms

2006-03-28 Thread Doug Cutting
markharw00d wrote: Is there any particular reason why SpanQuery introduced public Collection getTerms() when we have: public void extractTerms(Set terms) in Query? I can think of no compelling reason. I am changing the highlighter to make use of extractTerms and can either add this to Sp

SpanQuery doesn't implement extractTerms

2006-03-28 Thread markharw00d
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) { term