lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/LUCENE-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997376#comment-12997376
] 

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: https://issues.apache.org/jira/browse/LUCENE-2934
>             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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message