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 3EA301084B for ; Tue, 1 Jul 2014 09:51:47 +0000 (UTC) Received: (qmail 71605 invoked by uid 500); 1 Jul 2014 09:51:42 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 71548 invoked by uid 500); 1 Jul 2014 09:51:42 -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 71532 invoked by uid 99); 1 Jul 2014 09:51:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 09:51:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of arafalov@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 09:51:37 +0000 Received: by mail-we0-f176.google.com with SMTP id u56so9514317wes.35 for ; Tue, 01 Jul 2014 02:51:16 -0700 (PDT) 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=rDd9u4Oiwwg/GMPAaRAiVppvBXU85sYdvQRezgedwnk=; b=uOFKbXhp2Pr6rNmH+CfuCo0qlE461NDUIlM0gVNWQrg9ZJt/wuNBZ5VQKugoyQPR6n 5AFfPg8jemytvOFuFYcBRcm47FdoYjAjyYjqP2sb0cNsGoPj6ZZLC3EELe02b1bDiFGz MJkV5KQkQvMUTPsEmekKc0WgQ6Pjmbr6Hb3VP29ome58p9kdN9hv/FdqOyBfrWoW0NLO aWH9tZVJQouikHGNmNxi12vUad4Oiiongpupt2/Wa1+X8iQeNtYx3Ej/zVionChZeCiv Pix9lIMsKQIPuZj1o0B9Nol6EPDqW4M8Ra4UErYpTWtjXGNRmlqa8oI9hO4/sQGRgvvp Pmtg== X-Received: by 10.194.110.10 with SMTP id hw10mr51173903wjb.81.1404208276709; Tue, 01 Jul 2014 02:51:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.249.202 with HTTP; Tue, 1 Jul 2014 02:50:36 -0700 (PDT) From: Alexandre Rafalovitch Date: Tue, 1 Jul 2014 16:50:36 +0700 Message-ID: Subject: Restriction on type of uniqueKey field? To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I remember reading somewhere that id field (uniqueKey) must be String. But I cannot find the definitive confirmation, just that it should be non-analyzed. Can I use a single-valued TrieLongField type, with precision set to 0? Or am I going to hit issues? Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency