Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB9D8F498 for ; Fri, 14 Nov 2014 16:55:47 +0000 (UTC) Received: (qmail 86065 invoked by uid 500); 14 Nov 2014 16:55:43 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 86001 invoked by uid 500); 14 Nov 2014 16:55:43 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 82708 invoked by uid 99); 14 Nov 2014 16:54:01 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hnocleland@gmail.com designates 209.85.212.175 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Rl8Wirop7IqwC1ka7prwMO5a3enldvYF1yMCqMmECQY=; b=T0m0wTt5FrVyREOqzcVRp4y+OQb8Kii8ZlHKn532HbEs5swTKhQD64iQEcAGYJI0/C /rGnDjUqfYw7CAQtym+7YvZbWj2CbLq8Oz8NVo53uymMa0PDYd4VC6Z4eAj94L9MLfWJ Bjk05Kgi6sCpE6e9ow/p54Mmhhu2H9ST+noAla7Uk7Pjs/VfyJLSelT6g7XGlLUpXTRI KjGImd4jGTGc5ILt29LhSaGFbt/i0YQAjY9XVc3W2PDciTXrjp6GlUFkc3FB3Mw8plWI btHQjgekwIWisGjMieLggMYOvPobeMBJJiw7g9ljGfsadBgZU32JnnLaGOA/huBg55bO jaYQ== X-Received: by 10.194.193.2 with SMTP id hk2mr2132811wjc.40.1415983925460; Fri, 14 Nov 2014 08:52:05 -0800 (PST) MIME-Version: 1.0 From: henry cleland Date: Fri, 14 Nov 2014 16:51:45 +0000 Message-ID: Subject: Restrict search to subset (a list of aprrox 40,000 ids from an external service) of corpus To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e0102f884e2847c0507d47247 X-Virus-Checked: Checked by ClamAV on apache.org --089e0102f884e2847c0507d47247 Content-Type: text/plain; charset=ISO-8859-1 Hi guys, How do I search only a subset of my corpus based on a large list of non consecutive unique key ids (cannot do a range query). Is there a way around doing this q=id:(id1 OR id2 OR id3 OR id4 ... OR id40000 ) AND name:* Also what is the limit of "OR"s i can apply on the query if that is the only way out, i don't suppose it is infinity. Thanks --089e0102f884e2847c0507d47247--