You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Michael Garski (JIRA)" <ji...@apache.org> on 2007/11/15 02:51:43 UTC
[jira] Created: (LUCENENET-104) Name of first index segment is
empty string
Name of first index segment is empty string
-------------------------------------------
Key: LUCENENET-104
URL: https://issues.apache.org/jira/browse/LUCENENET-104
Project: Lucene.Net
Issue Type: Bug
Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
Reporter: Michael Garski
Priority: Minor
When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
_0.cfs
_0_1.del
_1.cfs
_2.cfs
_2_1.s0
_3.cfs
segments.gen
segments_a
actual:
_.cfs
__1.del
_1.cfs
_2.cfs
_2_1.s0
_3.cfs
segments.gen
segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (LUCENENET-104) Name of first index segment is
empty string
Posted by "Michael Garski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Garski updated LUCENENET-104:
-------------------------------------
Attachment: NumberTools.patch
I traced the segment name issue to the Lucene.Net.Documents.NumberTools.ToString method - when the input parameter is 0, and empty string is returned due to the call to TrimStart on the string made from the array. I altered the method to return "0" when the input is 0.
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Priority: Minor
> Attachments: NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (LUCENENET-104) Name of first index segment is
empty string
Posted by "George Aroush (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Aroush reassigned LUCENENET-104:
---------------------------------------
Assignee: George Aroush
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Assignee: George Aroush
> Priority: Minor
> Attachments: NumberTools-DIGY.patch, NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (LUCENENET-104) Name of first index segment is empty
string
Posted by "George Aroush (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Aroush closed LUCENENET-104.
-----------------------------------
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Assignee: George Aroush
> Priority: Minor
> Attachments: NumberTools-DIGY.patch, NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (LUCENENET-104) Name of first index segment is
empty string
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Digy updated LUCENENET-104:
---------------------------
Attachment: NumberTools-DIGY.patch
Same thing (shorter).
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Priority: Minor
> Attachments: NumberTools-DIGY.patch, NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LUCENENET-104) Name of first index segment is
empty string
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542886 ]
Digy commented on LUCENENET-104:
--------------------------------
Hi George,
This bug must have arisen after the patch for https://issues.apache.org/jira/browse/LUCENENET-101 .
DIGY
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Priority: Minor
> Attachments: NumberTools-DIGY.patch, NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (LUCENENET-104) Name of first index segment is
empty string
Posted by "George Aroush (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Aroush resolved LUCENENET-104.
-------------------------------------
Resolution: Fixed
Applied patch and delivered to Lucene 2.1.
> Name of first index segment is empty string
> -------------------------------------------
>
> Key: LUCENENET-104
> URL: https://issues.apache.org/jira/browse/LUCENENET-104
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Visual Studio 2005, .NET Framework 2.0, Windows XP
> Reporter: Michael Garski
> Assignee: George Aroush
> Priority: Minor
> Attachments: NumberTools-DIGY.patch, NumberTools.patch
>
>
> When executing the test Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames, it fails with the following message:
> Lucene.Net.Index.TestBackwardsCompatibility.TestExactFileNames : incorrect filenames in index: expected:
> _0.cfs
> _0_1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
> actual:
> _.cfs
> __1.del
> _1.cfs
> _2.cfs
> _2_1.s0
> _3.cfs
> segments.gen
> segments_a
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.