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 8346ECB67 for ; Thu, 5 Jun 2014 16:11:55 +0000 (UTC) Received: (qmail 17972 invoked by uid 500); 5 Jun 2014 16:11:50 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 17208 invoked by uid 500); 5 Jun 2014 16:11:50 -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 17100 invoked by uid 99); 5 Jun 2014 16:11:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 16:11:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of solr@elyograg.org designates 166.70.79.219 as permitted sender) Received: from [166.70.79.219] (HELO frodo.elyograg.org) (166.70.79.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 16:11:45 +0000 Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 1E5583C29 for ; Thu, 5 Jun 2014 10:11:25 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:from:from:subject:subject:date:date:references :in-reply-to:message-id:received:received; s=mail; t=1401984684; bh=HO08prbEjPi6+QfQLY6x1S5NtGcb/NDh8Vk3HVcPe+c=; b=Spae9OOXWv/y 2GaOqvIQWxqP613U/8Tj1FWhhbemeN+DORYL+bjHjU89FX+I3gRX2Gl0/i6tHhrq BQjKj66vu5TXXvFIY9jZUatej33a0pWKmXvXWXasB4d91FhaftqXmUIvs58rDy5v N3Z3q/Bsb5rr4Pca5t55Utp6eea0C8I= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WryeHeirS+Lx for ; Thu, 5 Jun 2014 10:11:24 -0600 (MDT) Received: from admin.elyograg.org (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 9B86997E for ; Thu, 5 Jun 2014 10:11:24 -0600 (MDT) X-Squirrel-UserHash: Eg0bDQsXIhUlBAcODgUQDQJtHRcG X-Squirrel-FromHash: E1FRVFxQIUs= Message-ID: In-Reply-To: References: Date: Thu, 5 Jun 2014 10:11:24 -0600 Subject: Re: Does lucene uses tries? From: "Shawn Heisey" To: solr-user@lucene.apache.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org > I just have want know that does the lucene used the tries data structure > to > store the > data. Lucene (and Solr) will use whatever you tell it when you create the field. If you indicate in your schema fieldType that you want to use a class of solr.TrieIntField, then the field will use a Lucene trie type that holds integers. Similar for TrieLongField, TrieFloatField, etc. Thanks, Shawn