lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <>
Subject [jira] Created: (LUCY-111) Matcher
Date Wed, 16 Jun 2010 18:42:23 GMT

                 Key: LUCY-111
             Project: Lucy
          Issue Type: New Feature
          Components: Core - Search
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
            Priority: Blocker

A Matcher is an object which matches a set of Lucy doc ids, iterating over
them via Next() and Advance().  It combines the roles of Lucene's
DocIdSetIterator and Scorer classes.

Some -- but not all -- Matchers implement a Score() method.  We can refer to
such Matchers informally as "scorers", but Lucy won't need a Scorer class a la
Lucene.   In Lucy, Query classes will compile down to Matchers that either
Score() or don't.  This allows us to perform optimizations on branches of
compound scorers: compiling "foo AND NOT bar" will produce a scoring Matcher
for "foo" and a non-scoring Matcher for "bar", since the "bar" branch can
never contribute to the score.

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

View raw message