You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/07/14 07:17:05 UTC
DO NOT REPLY [Bug 21557] New: -
PATCH to LuceneIndexTransformer
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=21557>.
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=21557
PATCH to LuceneIndexTransformer
Summary: PATCH to LuceneIndexTransformer
Product: Cocoon 2
Version: Current CVS 2.1
Platform: All
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: conal@nzetc.org
I've made a few minor changes to the Lucene transformer.
I've changed it to propagate the lucene:* elements to the result tree, and I
added an "elapsed-time" attribute to the lucene:document elements output. So
with this patch it's now possible to transform the results into a useful report
on the indexing operation.
For readability, I added constants for the 3 states of the parser.
STATE_GROUND=0, STATE_QUERY=1, and STATE_DOCUMENT=2.
Plus I wrote a few comments here and there. I added myself as an @author though
perhaps that's an exaggeration :-)