You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2010/06/05 23:25:54 UTC

[jira] Created: (LUCY-104) Similarity placeholder stub classes

Similarity placeholder stub classes
-----------------------------------

                 Key: LUCY-104
                 URL: https://issues.apache.org/jira/browse/LUCY-104
             Project: Lucy
          Issue Type: New Feature
          Components: Core - Index
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey


Add placeholder stubs for the abstract class Lucy::Index::Similarity, the
default implementation LuceneSimilarity, and the test-only class
DummySimilarity.

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


[jira] Resolved: (LUCY-104) Similarity placeholder stub classes

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

Marvin Humphrey resolved LUCY-104.
----------------------------------

    Resolution: Fixed

Committed as r952518.

> Similarity placeholder stub classes
> -----------------------------------
>
>                 Key: LUCY-104
>                 URL: https://issues.apache.org/jira/browse/LUCY-104
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Core - Index
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: DummySimilarity.bp, DummySimilarity.c, LuceneSimilarity.bp, LuceneSimilarity.c, Similarity.bp, Similarity.c
>
>
> Add placeholder stubs for the abstract class Lucy::Index::Similarity, the
> default implementation LuceneSimilarity, and the test-only class
> DummySimilarity.

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


[jira] Updated: (LUCY-104) Similarity placeholder stub classes

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

Marvin Humphrey updated LUCY-104:
---------------------------------

    Attachment: LuceneSimilarity.bp
                LuceneSimilarity.c

The default Similarity implementation is named LuceneSimilarity because it
will replicate Java Lucene's scoring model.

> Similarity placeholder stub classes
> -----------------------------------
>
>                 Key: LUCY-104
>                 URL: https://issues.apache.org/jira/browse/LUCY-104
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Core - Index
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: LuceneSimilarity.bp, LuceneSimilarity.c, Similarity.bp, Similarity.c
>
>
> Add placeholder stubs for the abstract class Lucy::Index::Similarity, the
> default implementation LuceneSimilarity, and the test-only class
> DummySimilarity.

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


[jira] Updated: (LUCY-104) Similarity placeholder stub classes

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

Marvin Humphrey updated LUCY-104:
---------------------------------

    Attachment: DummySimilarity.bp
                DummySimilarity.c

DummySimilarity is a test-only class, whose chief distinction is an "id"
member variable that makes it easy to make its equals() method fail.

> Similarity placeholder stub classes
> -----------------------------------
>
>                 Key: LUCY-104
>                 URL: https://issues.apache.org/jira/browse/LUCY-104
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Core - Index
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: DummySimilarity.bp, DummySimilarity.c, LuceneSimilarity.bp, LuceneSimilarity.c, Similarity.bp, Similarity.c
>
>
> Add placeholder stubs for the abstract class Lucy::Index::Similarity, the
> default implementation LuceneSimilarity, and the test-only class
> DummySimilarity.

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


[jira] Updated: (LUCY-104) Similarity placeholder stub classes

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

Marvin Humphrey updated LUCY-104:
---------------------------------

    Attachment: Similarity.bp
                Similarity.c

As discussed on the Java Lucene dev list a little while back, the role of
Similarity will diverge in Lucene and Lucy, and thus so will its location
within the class hierarchy. In Lucene, Similarity lives under
org.apache.lucene.search; in Lucy, it will live under Lucy::Index.

In Lucene, KinoSearch, and Ferret, the Similarity class has an impact on index
data via its lengthNorm() and encodeNorm() methods.  However, Lucene trunk has
recently moved to storing raw data rather than encoded norms/boosts, instead
calculating them on-the-fly at search-time when opening IndexReaders.  As of
now, Lucene's Similarity has zero impact on index format.

Lucy will be moving the opposite direction, writing all data at index time and
then mmap'ing the resulting data structures at search-time, as on-the-fly
calculation of norms/boosts is incompatible with Lucy's cheap-searcher model.
Instead, Lucy will seek to be *more* aggressive in lossy compression of index
data, as our fixed-field-spec schema model allows us to know more about what
we can throw away for certain fields.

> Similarity placeholder stub classes
> -----------------------------------
>
>                 Key: LUCY-104
>                 URL: https://issues.apache.org/jira/browse/LUCY-104
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Core - Index
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: Similarity.bp, Similarity.c
>
>
> Add placeholder stubs for the abstract class Lucy::Index::Similarity, the
> default implementation LuceneSimilarity, and the test-only class
> DummySimilarity.

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