Page: http://wiki.cocoondev.org/Wiki.jsp?page=Main , version: 203 on Mon Jun 23 
03:48:11 2003 by Con

+ * June 23, 2003
+ ** Updated [LuceneIndexTransformer] - a new component for efficiently 
generating Lucene indexes without crawling [Con]


Page: http://wiki.cocoondev.org/Wiki.jsp?page=LuceneIndexTransformer , version: 
14 on Mon Jun 23 03:50:13 2003 by Con

- The transformer consumes any elements in the {{lucene}} namespace, and any 
children of a {{lucene:document}} element, so if your {{lucene:index}} element 
is the root of your input document then there'll be no elements at all in the 
output. For this reason, if you want the transformer to output a valid XML 
"document" (rather than just an XML fragment), you should enclose the 
{{lucene:index}} element in another root element, such as {{index}}. The 
transformer will pass ''this'' element through as your output document.
+ The transformer consumes any elements in the {{lucene}} namespace, and any 
children of a {{lucene:document}} element, so if your {{lucene:index}} element 
is the root of your input document then there'll be no elements at all in the 
output. For this reason, if you want the transformer to output a valid XML 
"document" (rather than just an XML fragment), you should enclose the 
{{lucene:index}} element in another root element, such as {{index}}. The 
transformer will pass ''this'' element through as your output document. NB 
there is a pending patch to make the transformer pass all {{lucene:*}} elements 
to the result document, so that the results can be reformatted into a report on 
the indexing operation.
?                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                           
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Reply via email to