Joe R wrote on 05/30/2006 12:37 PM: > If I understand correctly, I can still do the > combine() once on the JMS MultiSearcher if the query doesn't contain any > wildcard or range terms. > > In general, you cannot rely on this. Any app may define any subtype of Query and give it a rewrite() method that relies on the index. Rather than relying on a closed set of index-dependent queries, a better approach would be to have a close set of index-independent queries. E.g., if you query was composed exclusively of BooleanQuery, TermQuery and PhraseQuery operators, which probably encompasses the vast majority of user-entered queries, then you could do the optimization.
Chuck --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]