[
https://issues.apache.org/jira/browse/LUCENE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471081#comment-13471081
]
David Smiley commented on LUCENE-4285:
--------------------------------------
I admit checked exceptions would have alerted me to my bug, but that doesn't
make the API any nicer -- I still need null checks littered through my FST user
code now. I don't know the FST internals but I'd be surprised to hear that
adding support for an empty FST adds appreciable overhead. If this "overhead"
we're discussing is a simple conditional check, then this is net-zero since as
it is I need these null checks on my end of the API due to my FST being
potentially null.
> 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]