lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: maximum no of values in multi valued string field
Date Tue, 15 Dec 2009 09:57:36 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message