From solr-user-return-148701-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu Jul 4 08:17:30 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8EE62180595 for ; Thu, 4 Jul 2019 10:17:30 +0200 (CEST) Received: (qmail 42856 invoked by uid 500); 4 Jul 2019 08:17:26 -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 42844 invoked by uid 99); 4 Jul 2019 08:17:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jul 2019 08:17:25 +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 1EC911A32EA for ; Thu, 4 Jul 2019 08:17:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.062 X-Spam-Level: ** X-Spam-Status: No, score=2.062 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_NO_HELO_DNS=0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0ibEDEt2c1M1 for ; Thu, 4 Jul 2019 08:17:23 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.42; helo=mail-io1-f42.google.com; envelope-from=yasufumi0410@gmail.com; receiver= Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 9F698BC52B for ; Thu, 4 Jul 2019 08:17:23 +0000 (UTC) Received: by mail-io1-f42.google.com with SMTP id u13so6759896iop.0 for ; Thu, 04 Jul 2019 01:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tWcBDZ8TyQEru2Ms2hYwQnDRtLVVXHsSO8gQ+JsiEaA=; b=kgJ6bXAGOJmSmTh6bllGD4Ukw313zAgNlqsjHGbw8+GNUdHAZG2X3oDbHAOeT43dUJ 3LqvvHP2/5neOZaHKt9PwN5LTt53snOsfGD6YzXaq7yjz/FSHoxZvCknd7bjqqky1KKc OAtGWKLHWp16YWYmS3CX2ViW117YrZV3BF6zP40kYxJ8YYLqGVMVkBN38n3h5IOWDBBf p+BO0EVjlpeigZ4zk6wnIcAaud+hgzlWO1ShopVPRfohHb7+MWdltw7AU/kzN/qfG02r 3kgUwv8g0lJ+yC2V2hOAT6h7Yp6pvxmbGNRJAeaFaC6N5Ar6uO/re4rrJLWfWyferqtD 5xbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tWcBDZ8TyQEru2Ms2hYwQnDRtLVVXHsSO8gQ+JsiEaA=; b=akBfgBIwuADBJgy7MoGSlkbVqPhfuMZ37gyyb43+5px4P242HWV+r2Z6zTKFCuQgF1 kjKX0CpnzumOgaZLB4lK/J/CIW6a4Bga0864Jq9YI0t41CRPlE1yUL/aRw2/Gl3D4pTW RZZwal9pznkWiKiOwVDHjgfpDYlCA8LTl0AekHved5XBE1g6dAwuLTdXdjLJFOq6Dyyi R8WfCI67V8J0ueEdOLHy7I4RGYbKvXDq/4ioNjvQ+9FlaS9mHguAViuXxWfAg501w7Vk sYf/c3cecD6w3F5dkN6koO6cSGf4cPfXjhbpIzbrdEW5dILfUDOdI+HIoronHLWjN+6v YXCg== X-Gm-Message-State: APjAAAV1BzrAOXMU186t9QUDBgJ8GjwFXj5eP3SOXsp7cwpxQfDhfZ/q OgBo27AVVzRa0qmQjOIaiEn5WbjKKmZcfYQ/8DY3HFYQbI4= X-Google-Smtp-Source: APXvYqzwGtQa2fHsyWbNvjHrcS9Xh9lv5/BDXvF9GyjxoUGSRGKmxDdVuTigRKgDjSj0E3+DsuACn64JCNPzH/Ce9H0= X-Received: by 2002:a05:6638:201:: with SMTP id e1mr46990005jaq.45.1562228242901; Thu, 04 Jul 2019 01:17:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yasufumi Mizoguchi Date: Thu, 4 Jul 2019 17:17:11 +0900 Message-ID: Subject: Re: Sort on PointFieldType To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="00000000000079eef9058cd69be4" --00000000000079eef9058cd69be4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Which version of Solr are you using? And what is the field settings? Reference guide says that sorting with single valued *PointType fields requires docValues=3D"true" option in field settings. https://lucene.apache.org/solr/guide/8_1/field-types-included-with-solr.htm= l#field-types-included-with-solr Thanks, Yasufumi 2019=E5=B9=B47=E6=9C=884=E6=97=A5(=E6=9C=A8) 3:50 Prince Manohar : > Hi, > I have a *field* that is of *PointType *and I tried to sort on that field= . > But looks like sorting does not work on PointType. > Or am I doing something wrong? > Find my query below:- > > http://localhost:8983/solr/testcollection/select?indent=3Don&q=3D*:*&sort= =3Dabc.pqr_d > DESC&wt=3Djson > > < > http://localhost:8983/solr/markustest1/select?indent=3Don&q=3D*:*&sort=3D= facet_en_price.UNITED_STATES_d%20DESC&wt=3Djson > > > > -- > *Regards, > < > https://rawgit.com/princemanohar/cv/master/resume7797045315-princemanohar= 0909.pdf > >* > *Prince Manohar > < > https://rawgit.com/princemanohar/cv/master/resume7797045315-princemanohar= 0909.pdf > >* > *B.Tech (InformationTechnology) > * > *Bengaluru > < > https://rawgit.com/princemanohar/cv/master/resume7797045315-princemanohar= 0909.pdf > >* > *+91 7797045315 > < > https://rawgit.com/princemanohar/cv/master/resume7797045315-princemanohar= 0909.pdf > >* > --00000000000079eef9058cd69be4--