Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3966E1826F for ; Tue, 18 Aug 2015 20:20:20 +0000 (UTC) Received: (qmail 33458 invoked by uid 500); 18 Aug 2015 20:20:17 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 33380 invoked by uid 500); 18 Aug 2015 20:20:17 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 33092 invoked by uid 99); 18 Aug 2015 20:20:17 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 20:20:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 18336DEDD0 for ; Tue, 18 Aug 2015 20:20:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ov1k3Dmi7wTg for ; Tue, 18 Aug 2015 20:20:16 +0000 (UTC) Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id C571A212E0 for ; Tue, 18 Aug 2015 20:20:15 +0000 (UTC) Received: by qgj62 with SMTP id 62so126639994qgj.2 for ; Tue, 18 Aug 2015 13:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tfRRbKEJLNqOf2p3ydjOkaqfFp7FYp56oqgipK1jTSQ=; b=QQgQv00qL2FpO1UfIv0d6ERXnXQKo8+dlvMfmWV5y3p1Dmrr3/Ra5tGRCmoQZx70lS C76xGwAdikvdsAfSLZ4TmDB6gSQH1A7kMWlzgD0GZSXvJnzcHRbLYDZb5HvCzPfMIg2U IJ/hyE2Zp3xE72nYQ6ODAe6d5f8gNjsMxHpa8ZxETsYDcC3OMP39DGpPNTf9R7mbE72/ BV7yn781aOyrlvcGMDmPC//SjQ5Kf2+xukr20qYp0TA/u7cOiIhucV5+3/x8vNFGVzJy o/kI2p8hufmnsdQ7/tV+fQC9/+AdntBalEj74s2CaCnlKyJVrkItFF3PV02ImjFNcelg RomQ== MIME-Version: 1.0 X-Received: by 10.140.239.84 with SMTP id k81mr16855747qhc.66.1439929214976; Tue, 18 Aug 2015 13:20:14 -0700 (PDT) Received: by 10.140.96.79 with HTTP; Tue, 18 Aug 2015 13:20:14 -0700 (PDT) Date: Tue, 18 Aug 2015 17:20:14 -0300 Message-ID: Subject: Lucene 5.2.1 Spatial Strategy PointVectorStrategy From: Pablo Mincz To: general@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Hi, I'm implementing a sort search by distance with a PointVectorStrategy. In the index process I used createIndexableFields from the strategy and makePoint from the context GEO. But when I'm sorting the search I get the error: Java::JavaLang::IllegalStateException: unexpected docvalues type NONE for field 'location__x' (expected=NUMERIC) And for what I see it is impossible to use a specific FieldType with DocValuesType NUMERIC. Someone know how to fix this? Thanks a lot for the help. Regards, Pablo.