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

Ryan Ernst commented on LUCENE-6465:
------------------------------------

+1

Do we really need to have so many variants of compile? Could we stick with a 
simple one (just takes the expression text) and one full featured one? It is 
simple for advanced users who need to set protectiond omain to use the more 
advanced one with JavascriptComipiler.DEFAULT_FUNCTIONS and 
JavascriptCompiler.class.getClassLoader()?

> Add protectiondomain to expressions compiler
> --------------------------------------------
>
>                 Key: LUCENE-6465
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6465
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6465.patch
>
>
> Today the classloader is somewhat hidden, you don't have a way to pass this. 
> But since we are generating classes on the fly, we should allow it to be 
> optionally specified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to