[
https://issues.apache.org/jira/browse/LUCENE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470555#comment-13470555
]
David Smiley commented on LUCENE-4285:
--------------------------------------
I just found out that an FST builder.finish() returns null if there's no input
basically. That is bad API design; it should return an FST with nothing init.
For now I have to have littered null checks.
> Improve FST API usability for mere mortals
> ------------------------------------------
>
> Key: LUCENE-4285
> URL: https://issues.apache.org/jira/browse/LUCENE-4285
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/FSTs
> Reporter: David Smiley
>
> FST technology is something that has brought amazing advances to Lucene, yet
> the API is hard to use for the vast majority of users like me. I know that
> performance of FSTs is really important, but surely a lot can be done without
> sacrificing that.
> (comments will hold specific ideas and problems)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]