hi, i appreciate see you guys planning for a new feature of Lucene, but this topic started a with a question, it is possible get a list of terms from MultiTermQuery?? as it was possible in the release 1.2.
This feature before relied on a few bugs. One was that, when a MultiTermQuery was used with a MultiSearcher the query was not correctly expanded. Another related bug was that if the query was used a second time on a different searcher then the query would not be re-expanded.
In the 1.3 sources a MultiTermQuery is expanded separately for each index searched. Thus there is no single list of terms that it corresponds to. The better way to do this, then as now, is to use its FilteredTermEnum to enumerate the terms for a particular index.
Perhaps MultiTermQuery.getEnum() should be changed from protected to private. Would that work for you?
Doug
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
