Grant Ingersoll wrote: > > On Aug 20, 2009, at 3:44 PM, Mark Miller wrote: > >> And what is the purpose of the marker interface PayloadQuery? >> >> Is there a use case for this? > > At the time I was adding it, I was thinking about adding a Payload > query that took in other Payload queries, i.e. something like: > CoolNewQuery(PayloadQuery [] clauses), but then I found a different > way to do it. > > Still, it seems like there should be a way of, in certain cases, > distinguishing Payload queries from SpanQueries, and there currently > isn't. > > I'm fine with removing it until I have a more concrete reason for it. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > Thanks Grant - my though is just - well what can you do knowing its a Payload query? The interface defines no methods - so I just can't come up with a use case myself ... to do anything, you'd have to know the actual class of the Query anyway right?
-- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org