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

Robert Muir commented on LUCENE-4285:
-------------------------------------

I rather like this: I don't think its common to have an empty FST, its usually 
indicative of a bug or misconfiguration.

There is also some code in lucene that uses this return value, e.g. 
SynonymFilterFactory, if you give it a file with no actual 
synonyms entries it just returns the underlying stream rather than decorating 
it with a useless synonyms filter.
                
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to