From lucene-user-return-6632-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Mon Dec 29 14:55:47 2003 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 41165 invoked from network); 29 Dec 2003 14:55:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Dec 2003 14:55:47 -0000 Received: (qmail 40700 invoked by uid 500); 29 Dec 2003 14:55:39 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 40564 invoked by uid 500); 29 Dec 2003 14:55:38 -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 40551 invoked from network); 29 Dec 2003 14:55:37 -0000 Received: from unknown (HELO smtp-in.rrz.uni-koeln.de) (134.95.19.47) by daedalus.apache.org with SMTP; 29 Dec 2003 14:55:37 -0000 Received: from smail.uni-koeln.de (xdsl-195-14-205-184.netcologne.de [195.14.205.184]) (authenticated as user kraemert using CRAM-MD5 bits=0) by cyrus.rrz.uni-koeln.de (8.12.10/8.12.10) with ESMTP id hBTEtbN6002579 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 29 Dec 2003 15:55:38 +0100 Message-ID: <3FF040EB.8050804@smail.uni-koeln.de> Date: Mon, 29 Dec 2003 15:57:47 +0100 From: =?ISO-8859-1?Q?Thomas_Kr=E4mer?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.5) Gecko/20030925 X-Accept-Language: de, en MIME-Version: 1.0 To: Lucene Users List Subject: Re: Types of field in index References: <20031222214836.27451.qmail@web12703.mail.yahoo.com> In-Reply-To: <20031222214836.27451.qmail@web12703.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new 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 Hello, >> *sorry* for previous mail, sometimes shortkeys are not that helpful... >> Thanks for that hint, Otis. Digester is a very comfortable way to customize the indexing of xml using lucene. And it works fine except one thing: According to the example in the article is set the addDocument (here: addRecord) method when reading the last element: // call 'addContact' method when the next 'oaidc:dc' pattern is seen digester.addSetNext(("oaidc:dc", "addRecord"); but as each file contains only one opening tag (and not as in the example: on adressbook-file contains various contact elements), how do i decide when to call the addRecord method? i tried empty String and null, but it didnīt work. is there a posibility to tell Digester what to to at endoffile? Thanks a lot ! Otis Gospodnetic schrieb: > I suggest you look at the Articles section of Lucene's site, in > particular an article about XML, Lucene, and Digester. --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org