[ http://issues.apache.org/jira/browse/COCOON-267?page=all ]
Jörg 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/create) > HttpProcessor[8080][3]/SimpleLuceneXMLIndexerImpl: Ignoring > http://localhost:8080/cocoon/documents/mail-archives.html?cocoon-view=content > (text/html) > ----- > I see from the code that the "Ignoring" message arises when > the contentType is null or not an allowed contentType. The code > builds a small list of allowedContentType (xml, xhtml). CVS shows > 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 > the cocoon-view=content does in fact serialise to xml. So why would > the contentType be reporting as html? Perhaps there has been a change > in that arena. > --David -- 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