AutoSuggest using lucene in appengine

43 views
Skip to first unread message

Puneet Khanal

unread,
Apr 17, 2013, 1:48:04 AM4/17/13
to lucene-a...@googlegroups.com
Hi,
I am trying to implement auto suggest feature using lucene 4.1 and AnalyzingSuggester and deploy it to google app engine. Currently, when I use the AnalyzingSuggester provided in lucene 4.1 in my GWT project and call build() method I get exceptions "access denied (java.io.FilePermission)" exception. Obviously appengine won't allow to write to file system and AnalyzingSuggester using temp directory for writing. So, Is it possible to bypass this restriction and use LAE for AnalyzingSuggester.

Thanks,
Puneet Khanal.

Fabio Grucci

unread,
Apr 18, 2013, 6:12:52 PM4/18/13
to lucene-a...@googlegroups.com
Hello,
I analyzed your issue and the AnalyzingSuggester. Now LAE enables reading and writing to and from the index; unfortunately the problem is the AnalyzingSuggester itself that uses temp directory for internal computing that are deleted before the end of processing. That class is now experimental, as soon as it will become stable I can schedule the development of a modified version of AnalyzingSuggester Google AppEngine enabled if not compatible.

Contributions are welcome.

Thanks to you for using LAE
--Fabio Grucci

Puneet Khanal

unread,
Apr 19, 2013, 12:13:47 AM4/19/13
to lucene-a...@googlegroups.com
Yes, AnalyzingSuggester is still experimental. I think I will give a shot at extending it and using it. I will take inspiration from your project, try to implement it and share it if I am sucessfull. Thanks for creating a great library... 
Reply all
Reply to author
Forward
0 new messages