You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/08/20 09:58:26 UTC
[jira] [Commented] (LUCENE-5893) FreeTextSuggester can now use
Files.createTempDirectory()
[ https://issues.apache.org/jira/browse/LUCENE-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103584#comment-14103584 ]
Michael McCandless commented on LUCENE-5893:
--------------------------------------------
Thanks [~varunthacker] this looks good, except I think we no longer need to add the random.nextInt(Integer.MAX_VALUE) part? Ie, this API will find a unique name for us from the prefix we provide?
> FreeTextSuggester can now use Files.createTempDirectory()
> ---------------------------------------------------------
>
> Key: LUCENE-5893
> URL: https://issues.apache.org/jira/browse/LUCENE-5893
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Varun Thacker
> Priority: Trivial
> Attachments: LUCENE-5893.patch
>
>
> Came across the TODO in the code and now it's possible to use Files.createTempDirectory since 4x is also on Java 7.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org