You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2012/10/24 12:18:11 UTC

[jira] [Created] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

Alan Woodward created SOLR-3985:
-----------------------------------

             Summary: Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
                 Key: SOLR-3985
                 URL: https://issues.apache.org/jira/browse/SOLR-3985
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
            Reporter: Alan Woodward
            Assignee: Alan Woodward
            Priority: Minor
             Fix For: 4.1, 5.0


At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.

Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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


[jira] [Resolved] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

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

Alan Woodward resolved SOLR-3985.
---------------------------------

    Resolution: Fixed
    
> Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3985
>                 URL: https://issues.apache.org/jira/browse/SOLR-3985
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3985.patch, SOLR-3985.patch
>
>
> At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.
> Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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


[jira] [Updated] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

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

Alan Woodward updated SOLR-3985:
--------------------------------

    Attachment: SOLR-3985.patch

Oops, thanks for catching that Yonik.  Updated patch, with the correct license header.  I'll commit shortly.
                
> Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3985
>                 URL: https://issues.apache.org/jira/browse/SOLR-3985
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3985.patch, SOLR-3985.patch
>
>
> At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.
> Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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


[jira] [Commented] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

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

Alan Woodward commented on SOLR-3985:
-------------------------------------

Committed:
- branch 4x: 1402465
- trunk: 1402463
                
> Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3985
>                 URL: https://issues.apache.org/jira/browse/SOLR-3985
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3985.patch, SOLR-3985.patch
>
>
> At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.
> Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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


[jira] [Updated] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

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

Alan Woodward updated SOLR-3985:
--------------------------------

    Attachment: SOLR-3985.patch

Patch, implementing a listener.  Also adds some more javadocs to ExternalFileField and FileFloatSource
                
> Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3985
>                 URL: https://issues.apache.org/jira/browse/SOLR-3985
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3985.patch
>
>
> At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.
> Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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


[jira] [Commented] (SOLR-3985) Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events

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

Yonik Seeley commented on SOLR-3985:
------------------------------------

Hey Alan, I think this looks fine.
Could we perhaps remove the "Copyright (c) 2012 Lemur Consulting Ltd."?
                
> Allow ExternalFileField caches to be reloaded on newSearcher and firstSearcher events
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3985
>                 URL: https://issues.apache.org/jira/browse/SOLR-3985
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3985.patch
>
>
> At the moment, ExternalFileField caches can only be refreshed/reloaded by clearing them entirely, which forces a reload the next time they are used in a query.  If your external files are big, this can take unacceptably long.
> Instead, we should allow the caches to be loaded on newSearcher/firstSearcher events, running in the background.

--
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

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