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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 :-)

Reply via email to