You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (Created) (JIRA)" <ji...@apache.org> on 2011/12/29 17:53:31 UTC

[jira] [Created] (SOLR-2992) add prepareCommit

add prepareCommit
-----------------

                 Key: SOLR-2992
                 URL: https://issues.apache.org/jira/browse/SOLR-2992
             Project: Solr
          Issue Type: New Feature
            Reporter: Yonik Seeley
            Priority: Minor


Expose Lucene's prepareCommit to Solr update handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-2992) add prepareCommit

Posted by "Yonik Seeley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-2992:
-------------------------------

    Attachment: SOLR-2992.patch

Here's a patch that adds support for specifying prepareCommit=true to update URLS that ends up calling IndexWriter.prepareCommit()

The CommitUpdateCommand was modified to include a prepareCommit flag.  This felt like the right approach (as opposed to a new update command) given that commit and prepareCommit may share more functionality over time (such as the ability to specify user commit info).
                
> add prepareCommit
> -----------------
>
>                 Key: SOLR-2992
>                 URL: https://issues.apache.org/jira/browse/SOLR-2992
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-2992.patch
>
>
> Expose Lucene's prepareCommit to Solr update handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-2992) add prepareCommit

Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177856#comment-13177856 ] 

Jan Høydahl commented on SOLR-2992:
-----------------------------------

The JavaDoc is not valid (@expert not valid tag), and build fails due to this line in UpdateParams.java:
bq. /** @expert calls IndexWriter.prepareCommit */
                
> add prepareCommit
> -----------------
>
>                 Key: SOLR-2992
>                 URL: https://issues.apache.org/jira/browse/SOLR-2992
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-2992.patch
>
>
> Expose Lucene's prepareCommit to Solr update handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-2992) add prepareCommit

Posted by "Yonik Seeley (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-2992.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
    
> add prepareCommit
> -----------------
>
>                 Key: SOLR-2992
>                 URL: https://issues.apache.org/jira/browse/SOLR-2992
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2992.patch
>
>
> Expose Lucene's prepareCommit to Solr update handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org