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

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 erickerick...@gmail.comwrote: 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

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.