Re: Limit on number of schema fields?

2006-10-19 Thread Otis Gospodnetic


- Original Message 
From: Yonik Seeley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, October 18, 2006 2:31:44 PM
Subject: Re: Limit on number of schema fields?

On 10/18/06, Mike Baranczak <[EMAIL PROTECTED]> wrote:
> Is there any significant penalty for having a large number of fields
> in a Solr schema (like between 50 and 100)?

We have had far larger numbers than that.

The only thing to watch out for is norms, which take up a byte per
document regardless of the number of documents containing the field.
You can omit norms if you don't need length normalization or
index-time boosting.

OG: Yonik, wasn't the saving 1 byte * # of indexed fields * # of docs?

Otis





Re: Limit on number of schema fields?

2006-10-19 Thread Yonik Seeley

On 10/19/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:

On 10/18/06, Mike Baranczak <[EMAIL PROTECTED]> wrote:
> Is there any significant penalty for having a large number of fields
> in a Solr schema (like between 50 and 100)?

We have had far larger numbers than that.

The only thing to watch out for is norms, which take up a byte per
document regardless of the number of documents containing the field.
You can omit norms if you don't need length normalization or
index-time boosting.

OG: Yonik, wasn't the saving 1 byte * # of indexed fields * # of docs?


Right, I was talking per indexed field, since omitting norms can be
controlled per-field.

-Yonik