You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shalin Shekhar Mangar <sh...@gmail.com> on 2009/12/15 10:57:36 UTC

Re: maximum no of values in multi valued string field

On Tue, Dec 15, 2009 at 3:13 PM, bharath venkatesh <
bharath.venkatesh@ibibogroup.com> wrote:

> Hi ,
>      Is there any limit in no of values stored in a single  multi valued
> string field ?


There is no limit theoretical limit. There are practical limits because your
documents are heavier. The document cache stores lucene documents in memory.


> if a single multi valued string field contains 1000-2000 string values what
> will be effect on query performance (we will be only indexing this field not
> storing it )  ?


Yes, the more the number of tokens, the longer it may take to search across
them. Faceting performance can drop drastically for such large number of
values.


> is it better to store all the strings  in a single  text field instead of
> multi valued string field.
>
>
It wouldn't make a lot of difference. The XML response may be a bit shorter.
In a single field highlighting can cause adjacent terms to be highlighted
which you may not want.

-- 
Regards,
Shalin Shekhar Mangar.