From java-user-return-51306-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Thu Nov 17 20:59:47 2011 Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC6D67311 for ; Thu, 17 Nov 2011 20:59:47 +0000 (UTC) Received: (qmail 66055 invoked by uid 500); 17 Nov 2011 20:59:45 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 65977 invoked by uid 500); 17 Nov 2011 20:59:45 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 65969 invoked by uid 99); 17 Nov 2011 20:59:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 20:59:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bw0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 20:59:41 +0000 Received: by bkbc12 with SMTP id c12so3702148bkb.35 for ; Thu, 17 Nov 2011 12:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=sG11OixhG1sR6uRmbZyCE2niBzOvvb9sOsCtdwZzc7o=; b=PlwI+z+gOiH/OFtN4VC2pggqXzHEVamfyS20n8c3dK9a9U5XssbpWy/eQ0KsgPVTVD cUC4Th/aoX+LeMbS8qNhe739xEEmC7xJ/H/94igWy5a0dbb3HtmEopsuqYWToF1PsiV9 WdcL6+vB/hC/XoOUrpRaOD8L4Vozd2Ou5qNy0= MIME-Version: 1.0 Received: by 10.204.156.141 with SMTP id x13mr254093bkw.54.1321563559602; Thu, 17 Nov 2011 12:59:19 -0800 (PST) Reply-To: yonik@lucidimagination.com Sender: yseeley@gmail.com Received: by 10.223.145.150 with HTTP; Thu, 17 Nov 2011 12:59:19 -0800 (PST) In-Reply-To: References: <78D33D3D-47FF-42AA-B7D9-9AEFA51991F8@robustlinks.com> <4EC3CE86.9010907@fissore.org> <4EC402AF.5000404@yahoo.de> <4EC41E9F.1020002@yahoo.de> <4EC4D30F.4000905@yahoo.de> <005901cca566$017c91d0$0475b570$@thetaphi.de> Date: Thu, 17 Nov 2011 15:59:19 -0500 X-Google-Sender-Auth: DiVoXHV1aJPiaq7FVao-6vxbxjI Message-ID: Subject: Re: ElasticSearch From: Yonik Seeley To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Thu, Nov 17, 2011 at 3:44 PM, Michael McCandless wrote: > Maybe someone can post the equivalent query in ElasticSearch? I don't think it's possible. Hoss threw in the kitchen sink into his "contrived' example. Here's a super simple example: JSON: { "sort" : [ { "age" : {"order" : "asc"} } ], "query" : { "term" : { "user" : "jack" } } } Solr's HTTP: q=user:jack&sort=age asc -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org