You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (Commented) (JIRA)" <ji...@apache.org> on 2011/11/10 19:34:51 UTC

[jira] [Commented] (SOLR-2887) FSTSuggester shouldn't OOM on large inputs

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

Simon Willnauer commented on SOLR-2887:
---------------------------------------

thanks david for moving forward with this. i haven't had time to look closer into that but my usecase actually needs tons of memory just for building the fst. - I'd be awesome if we can make this more efficient!
                
> FSTSuggester shouldn't OOM on large inputs
> ------------------------------------------
>
>                 Key: SOLR-2887
>                 URL: https://issues.apache.org/jira/browse/SOLR-2887
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>             Fix For: 3.5, 4.0
>
>
> Currently the input to FSTSuggester needs to be re-sorted and this is done in-memory. Kind of defeats the purpose of the component since everything else is super-efficient but we don't even get to that part because of OOMs during construction.
> Robert suggested using a spill-to-disk and merge sort on-disk. I suggested creating a lucene index and then enumerating terms for automaton construction or taking the automaton directly from the index structure (if it isn't pruned).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org