Re: Filtering on a 'unique key' set

2007-06-19 Thread Henrib
What I'm after is to restrict the 'whole' index through a set of unique keys. Each unique key set is likely to have between 100 & 1 keys and these sets are expected to be different for most of the queries. I'm trying to see if I can achieve a generic 'fk' (for filter key) kind of parameter so

Re: Filtering on a 'unique key' set

2007-06-19 Thread Yonik Seeley
On 6/19/07, Henrib <[EMAIL PROTECTED]> wrote: Is it reasonable to implement a RequestHandler that systematically uses a DocSet as a filter for the restriction queries? How many unique keys would typically be used to construct the filter? I'm under the impression that SolrIndexSearcher.getDocS

Re: Filtering on a 'unique key' set

2007-06-19 Thread Henrib
Is it reasonable to implement a RequestHandler that systematically uses a DocSet as a filter for the restriction queries? I'm under the impression that SolrIndexSearcher.getDocSet(Query, DocSet) would use the cache properly & that calling it in a loop would perform the 'and' between the filters..

Re: Filtering on a 'unique key' set

2007-06-18 Thread Yonik Seeley
On 6/18/07, Henrib <[EMAIL PROTECTED]> wrote: Thanks Yonik; Let me twist the same question another way; I'm running Solr embedded, the uniqueKey set that pre-exists may be large, is per-query (most likely not useful to cache it) and is iterable. I'd rather avoid making a string to build the 'fq'

Re: Filtering on a 'unique key' set

2007-06-18 Thread Henrib
Thanks Yonik; Let me twist the same question another way; I'm running Solr embedded, the uniqueKey set that pre-exists may be large, is per-query (most likely not useful to cache it) and is iterable. I'd rather avoid making a string to build the 'fq', get it parsed, etc. Would it be as safe & mor

Re: Filtering on a 'unique key' set

2007-06-17 Thread Yonik Seeley
On 6/17/07, Henrib <[EMAIL PROTECTED]> wrote: Merely an efficiency related question: is there any other way to filter on a uniqueKey set than using the 'fq' parameter & building a list of the uniqueKeys? I don't thnik so... In 'raw' Lucene, you could use filters directly in search; is this (c

Filtering on a 'unique key' set

2007-06-17 Thread Henrib
Merely an efficiency related question: is there any other way to filter on a uniqueKey set than using the 'fq' parameter & building a list of the uniqueKeys? In 'raw' Lucene, you could use filters directly in search; is this (close to) equivalent efficiency wise? Thanks -- View this message in c