[ 
https://issues.apache.org/jira/browse/LUCENE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-4285:
---------------------------------------

    Attachment: LUCENE-4285.patch

Patch, showing how we could use non-final-end-start arcs to do this: I
just added a static Builder.getEmptyFST method.

I think it's actually useful for Builder.finish to return null when
nothing was added: it conveys information (and returning empty FST
would mask that).  EG SynonymFilterFactory uses this to bypass
inserting a do-nothing (slowly) SynonymFilter.

                
> 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
>         Attachments: LUCENE-4285.patch
>
>
> 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]

Reply via email to