You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2012/06/04 16:54:22 UTC

[jira] [Created] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

Shai Erera created LUCENE-4108:
----------------------------------

             Summary: Add replaceTaxonomy to DirectoryTaxonomyWriter
                 Key: LUCENE-4108
                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
             Project: Lucene - Java
          Issue Type: New Feature
          Components: modules/facet
            Reporter: Shai Erera
            Assignee: Shai Erera
            Priority: Minor
             Fix For: 4.0, 3.6.1, 5.0


I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.

That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

--
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] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

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

Shai Erera resolved LUCENE-4108.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.6.1)

Committed revision 1346793 to 4x.

Since this is not a bug fix, I will not port to 3.6.1, unless someone requests it.
                
> Add replaceTaxonomy to DirectoryTaxonomyWriter
> ----------------------------------------------
>
>                 Key: LUCENE-4108
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4108.patch
>
>
> I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.
> That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

--
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] [Reopened] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

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

Robert Muir reopened LUCENE-4108:
---------------------------------


CHANGES.txt is mangled
                
> Add replaceTaxonomy to DirectoryTaxonomyWriter
> ----------------------------------------------
>
>                 Key: LUCENE-4108
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4108.patch
>
>
> I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.
> That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

--
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] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290024#comment-13290024 ] 

Shai Erera commented on LUCENE-4108:
------------------------------------

Committed revision 1346784 to trunk, now porting to 4x.
                
> Add replaceTaxonomy to DirectoryTaxonomyWriter
> ----------------------------------------------
>
>                 Key: LUCENE-4108
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.0, 3.6.1, 5.0
>
>         Attachments: LUCENE-4108.patch
>
>
> I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.
> That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

--
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] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

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

Shai Erera resolved LUCENE-4108.
--------------------------------

    Resolution: Fixed

I committed a fix for that -- moved the relevant entries to the 4.0.0 section. Hope it's ok now.
                
> Add replaceTaxonomy to DirectoryTaxonomyWriter
> ----------------------------------------------
>
>                 Key: LUCENE-4108
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4108.patch
>
>
> I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.
> That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

--
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] (LUCENE-4108) Add replaceTaxonomy to DirectoryTaxonomyWriter

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

Shai Erera updated LUCENE-4108:
-------------------------------

    Attachment: LUCENE-4108.patch

Patch against trunk. Adds replaceTaxonomy to DirTaxoWriter as well as relevant test.

All tests pass, I will commit this tomorrow.
                
> Add replaceTaxonomy to DirectoryTaxonomyWriter
> ----------------------------------------------
>
>                 Key: LUCENE-4108
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4108
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 4.0, 3.6.1, 5.0
>
>         Attachments: LUCENE-4108.patch
>
>
> I'd like to add the option to replace a taxonomy with another one, "live" on DirectoryTaxoWriter. Similar to how one can do so on IndexWriter, by calling deleteAll() and addIndexes(), it is valuable to be able to do so on DirTW as well.
> That way, if you need to replace a search index and taxonomy index "live", you will be able to, given this new API.

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