lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw00d <>
Subject SpanQuery doesn't implement extractTerms
Date Tue, 28 Mar 2006 21:15:01 GMT
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) {

or (perhaps more riskily) consider removing getTerms() completely from 
SpanQueries and replace with extractTerms.


To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message