Re: How to limit queries to specific IDs

2013-02-12 Thread Isaac Hebsh
Thank you, Erick! Three great answers! On Wed, Feb 13, 2013 at 4:20 AM, Erick Erickson wrote: > First, it may not be a problem assuming your other filter queries are more > frequent. > > Second, the easiest way to keep these out of the filter cache would be just > to include them as a MUST claus

Re: How to limit queries to specific IDs

2013-02-12 Thread Erick Erickson
First, it may not be a problem assuming your other filter queries are more frequent. Second, the easiest way to keep these out of the filter cache would be just to include them as a MUST clause, like +(original query) +id:(1 2 3 4). Third possibility, see https://issues.apache.org/jira/browse/SOL

How to limit queries to specific IDs

2013-02-11 Thread Isaac Hebsh
Hi everyone. I have queries that should be bounded to a set of IDs (the uniqueKey field of my schema). My client front-end sends two Solr request: In the first one, it wants to get the top X IDs. This result should return very fast. No time to "waste" on highlighting. this is a very standard query