From dev-return-90099-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed Oct 11 18:18:24 2006 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 97570 invoked from network); 11 Oct 2006 18:18:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2006 18:18:23 -0000 Received: (qmail 33461 invoked by uid 500); 11 Oct 2006 18:18:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 33391 invoked by uid 500); 11 Oct 2006 18:18:20 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 33363 invoked by uid 99); 11 Oct 2006 18:18:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 11:18:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 11:18:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D21F7142F3 for ; Wed, 11 Oct 2006 11:17:37 -0700 (PDT) Message-ID: <28038522.1160590657575.JavaMail.jira@brutus> Date: Wed, 11 Oct 2006 11:17:37 -0700 (PDT) From: =?utf-8?Q?J=C3=B6rg_Heinicke_=28JIRA=29?= To: dev@cocoon.apache.org Subject: [jira] Closed: (COCOON-267) Lucene index/search broken, wrong contentType each doc so ignored MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/COCOON-267?page=3Dall ] J=C3=B6rg Heinicke closed COCOON-267. -------------------------------- Resolution: Fixed So trying to set it to fixed again. > Lucene index/search broken, wrong contentType each doc so ignored > ----------------------------------------------------------------- > > Key: COCOON-267 > URL: http://issues.apache.org/jira/browse/COCOON-267 > Project: Cocoon > Issue Type: Bug > Components: - Components: Sitemap > Affects Versions: 2.0.5-dev (Current CVS) > Environment: Operating System: All > Platform: All > Reporter: David Crossley > Assigned To: Cocoon Developers Team > > Christian Zoffoli wrote: > > > > I have just downloaded the last CVS ...and I have found that lucene > > cant do any search on the indexed pages. The indexing process seems to > > work fine but "Index Statistics " says Total Count of Documents 0. > I looked at my core.log and found many entries like this ... > ----- > DEBUG (2002-05-04) 17:28.33:193 [core.search.lucene](/cocoon/search/c= reate) > HttpProcessor[8080][3]/SimpleLuceneXMLIndexerImpl: Ignoring > http://localhost:8080/cocoon/documents/mail-archives.html?cocoon-view=3Dc= ontent > (text/html) > ----- > I see from the code that the "Ignoring" message arises when=20 > the contentType is null or not an allowed contentType. The code=20 > builds a small list of allowedContentType (xml, xhtml). CVS shows=20 > that the code and the samples pages have not changed for a while. > So why would the contentType returned by cocoon-view have suddenly > changed to be html? According to the sample/search/sitemap.xmap=20 > the cocoon-view=3Dcontent does in fact serialise to xml. So why would > the contentType be reporting as html? Perhaps there has been a change=20 > in that arena. > --David --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira