Anna Björk Nikulásdóttir created LUCENE-5174:
------------------------------------------------
Summary: On disk FST objects
Key: LUCENE-5174
URL: https://issues.apache.org/jira/browse/LUCENE-5174
Project: Lucene - Core
Issue Type: Improvement
Components: core/FSTs
Affects Versions: 4.3.1, 4.4
Reporter: Anna Björk Nikulásdóttir
If one wants to support multiple language suggestions at the same time via
AnalyzingSuggester/FuzzySuggester on Android, it's almost not possible for the
time being, because all suggesters use in memory resident FST's. And of course
each language needs its own FST. On Android there are VM memory restrictions of
32MB for older devices like the Nexus S. Making the math: a good language FST
is roughly 11-15MB in size. Supporting even 2 languages at the same time is
therefore difficult taking into account that FST's are not the only part of a
common Android app.
A possible approach to a solution via memory mapping and DirectByteBuffer has
been proposed by Mike Mc Candless on Lucene ML:
[http://mail-archives.apache.org/mod_mbox/lucene-java-user/201308.mbox/%3CCAL8PwkbHdeEvk+e47H6v6_=Ln36yhE2RY=m7rqbfp+h50u5...@mail.gmail.com%3E]
--
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]