[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org