Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 30169 invoked from network); 7 Dec 2005 00:13:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 00:13:34 -0000 Received: (qmail 15290 invoked by uid 500); 7 Dec 2005 00:13:30 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 15253 invoked by uid 500); 7 Dec 2005 00:13:30 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 15222 invoked by uid 99); 7 Dec 2005 00:13:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 16:13:29 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7C66A18B for ; Wed, 7 Dec 2005 01:13:08 +0100 (CET) Message-ID: <1833445943.1133914388458.JavaMail.jira@ajax.apache.org> Date: Wed, 7 Dec 2005 01:13:08 +0100 (CET) From: "Erik Hatcher (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Closed: (LUCENE-477) Build an index which allows me to broswe by category. In-Reply-To: <724320736.1133903228822.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-477?page=all ] Erik Hatcher closed LUCENE-477: ------------------------------- Resolution: Invalid Yes, please bring this topic to the user list rather than JIRA > Build an index which allows me to broswe by category. > ----------------------------------------------------- > > Key: LUCENE-477 > URL: http://issues.apache.org/jira/browse/LUCENE-477 > Project: Lucene - Java > Type: Task > Components: Index > Versions: 1.4 > Environment: JDK 1.4, Windows 2003, Tomcat 5.0.28 > Reporter: Mark Dos Santos > > Hello there, > I have a collection of documents that I am using lucene to build an index for, and then I have a jsp app to search my documents. This all works great. I believe lucene is such an amazing product, but thats a whole other topic. Anyway, maybe it's my lack of experience in building indexes, but I am have trouble coming up with an index that kind of mimics verity's parametric index. You see my documents all have a category path (I have over 50,000 docs). A document can be at any level of the category path, and that same path can have many different documents. IE. Document x, has a category path USA//New Jersey//Trenton//09890 and Document y has a category path USA//New Jersey//Trenton//09890. > Basically, I would like to build an index using lucene, where when I search, if my results were to bring back those two documents, I would like to retrieve the distinct category path for those two documents. Of course I can loop through and build a vector with only the unique paths that come in the search results, but that obviously would take to long when I get lets say 10000 results from my search. > So the question I guess is, how can I build an index that would facilitate this functionality for me. If anyone has any suggestions I would greatly appreciate it. > Thanks, > Mark -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org