You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wettin (JIRA)" <ji...@apache.org> on 2008/11/19 13:54:44 UTC

[jira] Created: (LUCENE-1462) Instantiated/IndexWriter discrepanies

Instantiated/IndexWriter discrepanies
-------------------------------------

                 Key: LUCENE-1462
                 URL: https://issues.apache.org/jira/browse/LUCENE-1462
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/*
    Affects Versions: 2.4
            Reporter: Karl Wettin
            Assignee: Karl Wettin
            Priority: Critical


 * RAMDirectory seems to do a reset on tokenStreams the first time, this permits to initialise some objects before starting streaming, InstantiatedIndex does not.
 * I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex because of : java.io.NotSerializableException: org.apache.lucene.index.TermVectorOffsetInfo

http://www.nabble.com/InstatiatedIndex-questions-to20576722.html



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


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


[jira] Commented: (LUCENE-1462) Instantiated/IndexWriter discrepanies

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

Grant Ingersoll commented on LUCENE-1462:
-----------------------------------------

Karl,

I made TVOI serializable: Committed revision 724501.

> Instantiated/IndexWriter discrepanies
> -------------------------------------
>
>                 Key: LUCENE-1462
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1462
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.4
>            Reporter: Karl Wettin
>            Assignee: Karl Wettin
>            Priority: Critical
>             Fix For: 2.9
>
>         Attachments: LUCENE-1462.txt
>
>
>  * RAMDirectory seems to do a reset on tokenStreams the first time, this permits to initialise some objects before starting streaming, InstantiatedIndex does not.
>  * I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex because of : java.io.NotSerializableException: org.apache.lucene.index.TermVectorOffsetInfo
> http://www.nabble.com/InstatiatedIndex-questions-to20576722.html

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


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


[jira] Updated: (LUCENE-1462) Instantiated/IndexWriter discrepanies

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

Karl Wettin updated LUCENE-1462:
--------------------------------

    Fix Version/s: 2.9

> Instantiated/IndexWriter discrepanies
> -------------------------------------
>
>                 Key: LUCENE-1462
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1462
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.4
>            Reporter: Karl Wettin
>            Assignee: Karl Wettin
>            Priority: Critical
>             Fix For: 2.9
>
>         Attachments: LUCENE-1462.txt
>
>
>  * RAMDirectory seems to do a reset on tokenStreams the first time, this permits to initialise some objects before starting streaming, InstantiatedIndex does not.
>  * I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex because of : java.io.NotSerializableException: org.apache.lucene.index.TermVectorOffsetInfo
> http://www.nabble.com/InstatiatedIndex-questions-to20576722.html

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


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


[jira] Closed: (LUCENE-1462) Instantiated/IndexWriter discrepanies

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

Karl Wettin closed LUCENE-1462.
-------------------------------

    Resolution: Fixed

Committed in r726030 and r 725837.

> Instantiated/IndexWriter discrepanies
> -------------------------------------
>
>                 Key: LUCENE-1462
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1462
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.4
>            Reporter: Karl Wettin
>            Assignee: Karl Wettin
>            Priority: Critical
>             Fix For: 2.9
>
>         Attachments: LUCENE-1462.txt
>
>
>  * RAMDirectory seems to do a reset on tokenStreams the first time, this permits to initialise some objects before starting streaming, InstantiatedIndex does not.
>  * I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex because of : java.io.NotSerializableException: org.apache.lucene.index.TermVectorOffsetInfo
> http://www.nabble.com/InstatiatedIndex-questions-to20576722.html

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


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


[jira] Updated: (LUCENE-1462) Instantiated/IndexWriter discrepanies

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

Karl Wettin updated LUCENE-1462:
--------------------------------

    Attachment: LUCENE-1462.txt

 * Made a few classes implement java.io:Serializable
 * TestCase that makes sure InstantiatedIndex can be passed to an ObjectOutputStream
 * Added a tokenStream.reset() in InstantiatedIndexWriter 

I need help to get this committed as it contains a minor change to TermVectorOffsetInfo (implements Serializable) thats outside of the contrib module.




> Instantiated/IndexWriter discrepanies
> -------------------------------------
>
>                 Key: LUCENE-1462
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1462
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.4
>            Reporter: Karl Wettin
>            Assignee: Karl Wettin
>            Priority: Critical
>         Attachments: LUCENE-1462.txt
>
>
>  * RAMDirectory seems to do a reset on tokenStreams the first time, this permits to initialise some objects before starting streaming, InstantiatedIndex does not.
>  * I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex because of : java.io.NotSerializableException: org.apache.lucene.index.TermVectorOffsetInfo
> http://www.nabble.com/InstatiatedIndex-questions-to20576722.html

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


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