Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 63078 invoked from network); 3 Dec 2010 03:08:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Dec 2010 03:08:34 -0000 Received: (qmail 23651 invoked by uid 500); 3 Dec 2010 03:08:32 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 23544 invoked by uid 500); 3 Dec 2010 03:08:32 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 23529 invoked by uid 99); 3 Dec 2010 03:08:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 03:08:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 03:08:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB338BI1018472 for ; Fri, 3 Dec 2010 03:08:11 GMT Message-ID: <7613713.87911291345691331.JavaMail.jira@thor> Date: Thu, 2 Dec 2010 22:08:11 -0500 (EST) From: "Grant Ingersoll (JIRA)" To: dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-2728) EnwikiContentSource does not properly identify the name/id of the Wikipedia article In-Reply-To: <25957856.122941288281201377.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2728?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll resolved LUCENE-2728. ------------------------------------- Resolution: Fixed > EnwikiContentSource does not properly identify the name/id of the Wikiped= ia article > -------------------------------------------------------------------------= ---------- > > Key: LUCENE-2728 > URL: https://issues.apache.org/jira/browse/LUCENE-2728 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/benchmark > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2728.patch > > > The EnwikiContentSource does not properly identify the id (name in benchm= ark parlance) of the documents. It currently produces assigns the id on th= e last tag it sees in the document, as opposed to the id of the docume= nt. Most documents have multiple tags in them. This prevents the Con= tentSource from being used effectively in producing documents for updating. > Example doc: > {quote} > > AlgeriA > 5 > > 133452200 > 2007-05-25T17:11:48Z > > Gurch > 241822 > > > [[WP:AES|=C3=A2<86><90>]]Redirected page to [[Algeria]] > #REDIRECT [[Algeria]] {{R from CamelCa= se}} > > > {quote} > In this case, the getName() return 241822 instead of 5. page/id is uniqu= e according to the schema at http://www.mediawiki.org/xml/export-0.3.xsd, = so we should just get that one. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org