lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3011) Add serialization/deserialization of FST instances from plain InputStream/OutputStream.
Date Mon, 04 Apr 2011 13:15:05 GMT

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

Robert Muir commented on LUCENE-3011:
-------------------------------------

But it doesn't really use it right? its just abusing getFilePointer() to check that you wrote
all ascii?

It could, perhaps more clearly, convert to bytes itself and check: (either by checking the
length of the bytes or using US-ASCII charset with onUnmappableCharacter and friends set to
CodingErrorAction.REPORT?), and then use writeBytes?


> Add serialization/deserialization of FST instances from plain InputStream/OutputStream.
> ---------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3011
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3011
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 4.0
>
>
> Currently the automaton can be saved only to a Directory instance (IndexInput/ IndexOutput).

--
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