Re: searching only within allowed documents

2008-06-12 Thread Geoffrey Young
climbingrose wrote: It depends on your query. The second query is better if you know that fieldb:bar filtered query will be reused often since it will be cached separately from the query. The first query occuppies one cache entry while the second one occuppies two cache entries, one in queryCac

Re: searching only within allowed documents

2008-06-11 Thread climbingrose
Just correct myself, in the last setence, the first query is better if fieldb:bar isn't reused often On Thu, Jun 12, 2008 at 2:02 PM, climbingrose <[EMAIL PROTECTED]> wrote: > It depends on your query. The second query is better if you know that > fieldb:bar filtered query will be reused often si

Re: searching only within allowed documents

2008-06-11 Thread climbingrose
It depends on your query. The second query is better if you know that fieldb:bar filtered query will be reused often since it will be cached separately from the query. The first query occuppies one cache entry while the second one occuppies two cache entries, one in queryCache and one in filteredCa

Re: searching only within allowed documents

2008-06-11 Thread Geoffrey Young
Solr allows you to specify filters in separate parameters that are applied to the main query, but cached separately. q=the user query&fq=folder:f13&fq=folder:f24 I've been wanting more explanation around this for a while, so maybe now is a good time to ask :) the "cached separately" verbi

Re: searching only within allowed documents

2008-06-10 Thread Stephen Weiss
Thanks for the advice Yonik. We have new users at least every few hours so it would be kinda difficult to maintain the indexes this way. However, we do have a smaller set of tokens describing the different subscription sets available (<100). Basically, each folder_id is attached to a cert

Re: searching only within allowed documents

2008-06-10 Thread Yonik Seeley
On Mon, Jun 9, 2008 at 7:44 PM, Stephen Weiss <[EMAIL PROTECTED]> wrote: > However, in the plain text search, the user automatically searches through > *all* of the folders to which they have subscribed. This means, for (good!) > users who have subscribed to a large (1000+) number of folders, the