cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8932] New: - Lucene index/search broken, wrong contentType each doc so ignored
Date Thu, 09 May 2002 06:22:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8932>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8932

Lucene index/search broken, wrong contentType each doc so ignored

           Summary: Lucene index/search broken, wrong contentType each doc
                    so ignored
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: crossley@indexgeo.com.au


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

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message