On 3/2/09 1:58 PM, "Erik Hatcher" <e...@ehatchersolutions.com> wrote:
>
> On Mar 2, 2009, at 2:47 PM, Ken Williams wrote:
>> In the output, I get explanations like "0.88922405 = (MATCH) product
>> of:"
>> with no details. Perhaps I need to do something different in
>> indexing?
>
> Explanation.toString() only returns the first line. You can use
> toString(int depth) or loop over all the getDetails(). toHtml()
> returns a decently formatted tree of <ul>'s of the whole explanation
> also.
It looks like toString(int) is a protected method, and toHtml() only seems
to return a single <ul> with no content. I can start writing a recursive
routine to dive down into getDetails(), but I thought there must be
something easier.
--
Ken Williams
Research Scientist
The Thomson Reuters Corporation
Eagan, MN
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org