You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2008/05/08 12:47:55 UTC

[jira] Created: (SOLR-566) Incorporate Lucene's CheckIndex tool into Solr

Incorporate Lucene's CheckIndex tool into Solr
----------------------------------------------

                 Key: SOLR-566
                 URL: https://issues.apache.org/jira/browse/SOLR-566
             Project: Solr
          Issue Type: New Feature
            Reporter: Grant Ingersoll
            Priority: Minor


Not sure how to just yet, but I think it would be good to somehow incorporate Lucene's CheckIndex tool into Solr.  I imagine it can be done nicely through the admin, but I suspect it makes sense to also do it on startup or even as a request handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-566) Incorporate Lucene's CheckIndex tool into Solr

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595838#action_12595838 ] 

Hoss Man commented on SOLR-566:
-------------------------------

the main method will need some refactoring before it's a little more useful besides on the command line.

A request handler would be a relaly straightforward way to do this, but another cool way to use it would be in the init code where we check for an existing lock file -- if we find one, even if unlockOnStartup==true we should run CheckIndex.

> Incorporate Lucene's CheckIndex tool into Solr
> ----------------------------------------------
>
>                 Key: SOLR-566
>                 URL: https://issues.apache.org/jira/browse/SOLR-566
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Priority: Minor
>
> Not sure how to just yet, but I think it would be good to somehow incorporate Lucene's CheckIndex tool into Solr.  I imagine it can be done nicely through the admin, but I suspect it makes sense to also do it on startup or even as a request handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-566) Incorporate Lucene's CheckIndex tool into Solr

Posted by "Brian Whitman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619738#action_12619738 ] 

Brian Whitman commented on SOLR-566:
------------------------------------

-1 on running it on startup with any default. To be specific on mark's "forever," I killed one that was actively processing index files after 12 hours (it wasn't hung or anything)



> Incorporate Lucene's CheckIndex tool into Solr
> ----------------------------------------------
>
>                 Key: SOLR-566
>                 URL: https://issues.apache.org/jira/browse/SOLR-566
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>
> Not sure how to just yet, but I think it would be good to somehow incorporate Lucene's CheckIndex tool into Solr.  I imagine it can be done nicely through the admin, but I suspect it makes sense to also do it on startup or even as a request handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SOLR-566) Incorporate Lucene's CheckIndex tool into Solr

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

Grant Ingersoll reassigned SOLR-566:
------------------------------------

    Assignee: Grant Ingersoll

> Incorporate Lucene's CheckIndex tool into Solr
> ----------------------------------------------
>
>                 Key: SOLR-566
>                 URL: https://issues.apache.org/jira/browse/SOLR-566
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>
> Not sure how to just yet, but I think it would be good to somehow incorporate Lucene's CheckIndex tool into Solr.  I imagine it can be done nicely through the admin, but I suspect it makes sense to also do it on startup or even as a request handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-566) Incorporate Lucene's CheckIndex tool into Solr

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619737#action_12619737 ] 

Mark Miller commented on SOLR-566:
----------------------------------

I think you have to be real careful putting it in the startup. I've seen even just 2 million doc indexes where the thing just takes forever to run on the box being used. That would be quite the surprisingly slow startup.

> Incorporate Lucene's CheckIndex tool into Solr
> ----------------------------------------------
>
>                 Key: SOLR-566
>                 URL: https://issues.apache.org/jira/browse/SOLR-566
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>
> Not sure how to just yet, but I think it would be good to somehow incorporate Lucene's CheckIndex tool into Solr.  I imagine it can be done nicely through the admin, but I suspect it makes sense to also do it on startup or even as a request handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.