Use of .NET's DataTable is simply a convenience hiding the code that formats 
the information as XML text and ensure that the XML is formatted in a certain 
specific way.
Although it is frowned upon, you could write the XML text directly, or use 
.NET's XML writer, avoiding use of DataTable.

-- Neal


-----Original Message-----
From: Scott Remiger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2008 1:39 PM
To: lucene-net-user@incubator.apache.org
Subject: RE: Convert Hits to XML

That works and it is a thought but wouldn't it make more sense to
convert the Hits right to xml.  Either way I still have this middle step
of taking hits to some other object then convert to xml.

We look at the HitsCollector (maybe not hard enough) do you still have
to convert that to a document in order to get the Values of the
document?




Scott Remiger
888 Lumber Exchange Building
10 South Fifth Street
Minneapolis, MN 55402
O: 612.238.4951
F: 612.746.4237

Reply via email to