On Sonntag 05 März 2006 19:03, Eric Jain wrote: > I need to write a function that copies a MultiPhraseQuery and changes > the field the query applies to. Unfortunately the API allows access to > neither the contained terms nor the field! The other query classes I > have so far dealt with all seem to allow access to the contained query > terms...
Please try to add this to MultiPhraseQuery and let us know if it helps: public List getTerms() { return termArrays; } Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]