[
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: [email protected]
For additional commands, e-mail: [email protected]