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

Ryan McKinley commented on CONNECTORS-621:
------------------------------------------

FYI, rather then use
{code:java}
solrServer.commit()
{code}

You can use:

{code:java}
    UpdateRequest req = new UpdateRequest();
    req.setPath("/yourpath");
    req.setAction(ACTION.COMMIT, true, true);
    req.process(req);
{code}

to hit your own update request handler
                
> Solr Connector does not route commit logic through the specified update path
> ----------------------------------------------------------------------------
>
>                 Key: CONNECTORS-621
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-621
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 1.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.1
>
>
> The Solr Connector uses solrServer.commit(), which creates an UpdateRequest 
> with an UpdateRequest.ACTION_COMMIT action.  This does not allow for the path 
> to be set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to