lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-2934) Alternative depth-based DOT layout ordering in FST's Utils
Date Mon, 21 Feb 2011 12:35:38 GMT


Uwe Schindler commented on LUCENE-2934:

Additionally, PrintStream is a legacy class from Java 1.0. If DOT is specified to be US-ASCII,
it should use a PrintWriter that is instantiated using US-ASCII as charset (PrintStream uses
platform default, and that may be Big5 or other ugly things). In my opinion, the method should
take a PrintWriter and a possible File/OutputStream method should be hardcoded to US-ASCII.

> Alternative depth-based DOT layout ordering in FST's Utils
> ----------------------------------------------------------
>                 Key: LUCENE-2934
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Other
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 4.0
>         Attachments: LUCENE-2934.patch, graph-after.png
> Utils.toDot() dumps GraphViz's DOT file, but it can be quite difficult to read. This
patch provides an alternative layout that is probably a little bit easier on the eyes (well,
as far as larger FSTs can be ;)

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message