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 BA77F1893B for ; Mon, 29 Jun 2015 16:57:49 +0000 (UTC) Received: (qmail 61351 invoked by uid 500); 29 Jun 2015 16:57:45 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 61282 invoked by uid 500); 29 Jun 2015 16:57:45 -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 Received: (qmail 61268 invoked by uid 99); 29 Jun 2015 16:57:45 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 16:57:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F274D1A630A for ; Mon, 29 Jun 2015 16:57:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gQyKHWNwgQBj for ; Mon, 29 Jun 2015 16:57:35 +0000 (UTC) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id B7B6F2092B for ; Mon, 29 Jun 2015 16:57:35 +0000 (UTC) Received: by pabvl15 with SMTP id vl15so108066326pab.1 for ; Mon, 29 Jun 2015 09:57:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=URnlewQCgKRVhRxJzUn2l6IXD9Jqj6gPgYyGm/iIt+E=; b=RUoV16P7EYcvhrgKhLWbXTl78TBpgSeKvQ7nVvgcj56KwfYTJWdihvHv/oMFJ5Xlwo sUiSbWTT++Rdpq8JATNgREPEkL+Uxr/yo83FBP660YedVoqJLQQWt/D4uK4eE0sFAjPk ha4JLwJ4ALgusCc3k5ZHXLDEWMX2IuDqDg29cYD8rh4nO67t7EHNWadOY0TvH8v+5Rpv D5uaVJ5dl+fkGZLe9lEH5gwi80DF8lgttVx/foa7nc1dyMoDoiuRfqJjplOnZgjYzdq6 gKadgSEyAixGtABK44qGF+6B4lfBILLro69S1o0TqgxRBqlC+3Yr8PYzWfG1L9gwXiQ/ gV+A== X-Gm-Message-State: ALoCoQnMjSH6ZgrsQ3y6aH8M5ihax+bwmO3JEM44xG97NiL4A4B76QPqI22bo+R9zmfonbeiYRjD X-Received: by 10.70.53.199 with SMTP id d7mr33944603pdp.89.1435597055354; Mon, 29 Jun 2015 09:57:35 -0700 (PDT) Received: from tray (c-73-24-177-166.hsd1.az.comcast.net. [73.24.177.166]) by mx.google.com with ESMTPSA id bf5sm28150878pad.43.2015.06.29.09.57.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 09:57:33 -0700 (PDT) Date: Mon, 29 Jun 2015 09:57:31 -0700 (MST) From: Chris Hostetter To: solr-user@lucene.apache.org Subject: Re: cursorMark and timeAllowed are mutually exclusive? In-Reply-To: <5591740B.4080807@elyograg.org> Message-ID: References: <55916047.3060908@uni-bielefeld.de> <5591740B.4080807@elyograg.org> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII : > Have nothing found in the ref guides, docs, wiki, examples about this mutually : > exclusive parameters. : > : > Is this a bug or a feature and if it is a feature, where is the sense of this? The problem is that if a timeAllowed exceeded situation pops up, you won't get a nextCursorMark to use -- or the one you get might be wrong, and could trigger infinit looping. code doesn't really know about hte cursorMark code, so if a timeAllowed "exceeded" siutation pops up, you might not get a nextCursorMark in your response, which i considered unacceptible. if you ask for a cursorMark, you get a cursor mark. if you ask for a cursor mark and include other options that make it possible we can't do that, it's an error. With a bit of work, both could probably be supported in combination -- but for now it's untested, and thus unsupported, so we put in that error message to make it clear and to guard end users against the risk of nonsensical results. >> Yes, I'm using timeAllowed which is set in my requestHandler as >> invariant to 60000 (60 seconds) as a limit to "killer searches". Your best is porbably to confine your cursorMark searches to an alternate request handler, not used by your normal arbitrary queries, that doesn't have the timeAllowed invariant. -Hoss http://www.lucidworks.com/