Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 73042 invoked from network); 19 Mar 2004 12:39:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Mar 2004 12:39:16 -0000 Received: (qmail 66515 invoked by uid 500); 19 Mar 2004 12:39:10 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 66371 invoked by uid 500); 19 Mar 2004 12:39:09 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 66356 invoked from network); 19 Mar 2004 12:39:09 -0000 Received: from unknown (HELO rs9.luxsci.com) (66.216.98.59) by daedalus.apache.org with SMTP; 19 Mar 2004 12:39:09 -0000 Received: from ctx.com.au (ppp152-16.lns1.cbr1.internode.on.net [150.101.152.16]) (authenticated bits=0) by rs9.luxsci.com (8.12.10/8.12.10) with ESMTP id i2JCd7m8030475 for ; Fri, 19 Mar 2004 06:39:09 -0600 Message-ID: <405AEA2A.5020401@ctx.com.au> Date: Fri, 19 Mar 2004 23:40:10 +1100 From: Matt Quail User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: Re: PrefixQuery and hieracical queries problem References: <405ACDD4.2010101@conscius.com> In-Reply-To: <405ACDD4.2010101@conscius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dennis Thrys�e wrote: > The only alternative I can think of would be to store a whitespace > seperated list of all ancestors along with a document: > > /foo /foo/bar /foo/bar/baz I think you will find that this kind of approach works very well (as it has for me). But instead of adding one field named "path" with space-seperated values, just add multiple "path" fields to the one document. =Matt --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org