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

Pat Moody commented on SOLR-9231:
---------------------------------

[~paperthin_tparker]
Did you ever get Solr 6.x + with SolrInputDocument working with ColdFusion? I 
am trying the same with Lucee 5 + Solr 7 and am having real problems with 
constructors for this object.
We do have it working with our current Solr 4.6 and Lucee 5 as there are no 
constructors required.

I've started work on creating a Lucee extension for Solr 7 and having OSGI 
issues so may resort to the old Javaloader mechanisms we are using currently 
for Solr 4.6.
Here are a couple of references.
https://dev.lucee.org/t/solr-7-extension/3002
https://luceeserver.atlassian.net/browse/LDEV-1584

Any help would be appreciated.

Cheers
Pat

> SolrInputDocument no-args constructor removed without notice
> ------------------------------------------------------------
>
>                 Key: SOLR-9231
>                 URL: https://issues.apache.org/jira/browse/SOLR-9231
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: 6.1
>         Environment: Lucee (or ColdFusion) loading SolrJ using separate 
> URLClassLoader instance)
>            Reporter: Tim Parker
>
> In 6.0.1 and previous, SolrInputDocument provided two constructors - one with 
> no arguments, the other accepting a Map object.  As of 6.1.0, the 
> no-arguments constructor is replaced with one that accepts zero or more 
> strings.
> With 6.0.1, this worked:
> cls = LoadClass("org.apache.solr.common.SolrInputDocument");
> Constructor foo = cls.getConstructor();
> This fails with Solr 6.1.0
> We get the same error after updating the code to this:
> cls = LoadClass("org.apache.solr.common.SolrInputDocument");
> Class[] argArray = new Class[0];
> Constructor foo = cls.getConstructor(argArray);
> Are we missing something?  If not, please restore the missing no-arguments 
> constructor.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to