Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 11508 invoked from network); 1 Apr 2004 19:48:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Apr 2004 19:48:53 -0000 Received: (qmail 3866 invoked by uid 500); 1 Apr 2004 19:48:37 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 3847 invoked by uid 500); 1 Apr 2004 19:48:36 -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 3834 invoked from network); 1 Apr 2004 19:48:36 -0000 Received: from unknown (HELO mail-out3.apple.com) (17.254.13.22) by daedalus.apache.org with SMTP; 1 Apr 2004 19:48:36 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out3.apple.com (8.12.11/8.12.11) with ESMTP id i31JmfAS014643 for ; Thu, 1 Apr 2004 11:48:41 -0800 (PST) Received: from relay3.apple.com (relay3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id for ; Thu, 1 Apr 2004 11:48:41 -0800 Received: from [17.219.199.238] ([17.219.199.238]) by relay3.apple.com (8.12.11/8.12.11) with ESMTP id i31Jmdlp023462 for ; Thu, 1 Apr 2004 19:48:40 GMT Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <92AB0CC9-8415-11D8-9BCB-000A95C8F324@apple.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: lucene-user@jakarta.apache.org From: David Black Subject: Nested category strategy Date: Thu, 1 Apr 2004 14:48:39 -0500 X-Mailer: Apple Mail (2.613) 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 Hey All, I'm trying to figure out the best approach to something. Each document I index has an array of categories which looks like the following example.... /Science/Medicine/Serology/blood gas /Biology/Fluids/Blood/ etc. Anyway, there's a couple things I'm trying to deal with. 1. The fact that we have an undefined array size. I can't just shove these into a single field. I could explode them into multiple fields on the fly like category_1, category_2. etc. etc 2. The fact that a search will need to be performed like " category: /Science/Medicine/*" would need to return all items within that category. Thanks in advance to anyone who can give me some help here. Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org