Here's my patch for the indexing and IndexReader side of things. Works like
a charm.

http://issues.apache.org/jira/browse/LUCENE-448

This doesn't yet include performance enhancements to scorers when norms
aren't included,
but I first wanted to make sure things were completely backward compatible
with custom queries and scorers that we don't have access to.

-Yonik
Now hiring -- http://tinyurl.com/7m67g

On 10/7/05, Yonik Seeley <[EMAIL PROTECTED]> wrote:
>
> I'm approaching it the same as term vectors... make the norms optional on
> a per field basis.
> My first cut is returning a dummy norm array filled in with the equiv of
> 1.0f so I didn't have to go modify all the queries/weights/scorers that
> retrieve the norms. For best performance, those scorers should be modified
> to handle null.
>

Reply via email to