Miles Barr writes: > On Fri, 2005-02-18 at 03:58 +0100, Miro Max wrote: > > how can i search for content where type=document or > > (type=document OR type=view). > > actually i can do it with: "(type:document OR > > type:entry) AND queryText" as QueryString. > > but does exist any other better way to realize this? > [...] > > Another alternative is to put each type in it's own index and use a > MultiSearcher to pull in the types you want. > If the change rate of the index and the number of commonly used type combinations aren't too large, cached filters might be another alternative. Of couse the filter would have to be recreated whenever the index changes. The advantage is, that you save searching for the types for each query where the filter is reused while you can keep all documents within one index.
Morus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]