lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: unique key
Date Tue, 10 Jul 2012 21:24:27 GMT
No, a unique key needs to be indexed. You can delete documents by query (to
avoid duplication), but you can't query on any field that is not indexed,
so I guess you'll need it.

On Tue, Jul 10, 2012 at 12:23 PM, Sachin Aggarwal <
different.sachin@gmail.com> wrote:

> today i experimented some parameters with apache-solr-4.0.0-ALPHA
>
> example record :-
> id,u,u1,u2,u3,u4,u5,u6,u7,u8,u9
> df8caf0b-a0b2-4cc8-8594-e9b17026f126, ARGUE, COUDE, FLONG, JIVER, MALAR,
> PARVO, SARIS, ULANS, VIRLSA, CHATEAUBRIAND
>
>
> for 5000 index dir size is when unique key is not indexed:::::::596.19 KB
> for 5000 index dir size is when unique key is not indexed:::::::399.98 KB
>
> for 5005000 index dir size is when unique key is not indexed:::::333.73 MB
> for 5005000 index dir size is when unique key is indexed:::::::::::520.46
> MB
>
> for 10010000 index dir size is when unique key is not indexed:::::667.42 MB
> for 10010000 index dir size is when unique key is indexed:::::::::::1.02 GB
>
> there is a significant decrease in index size but it costs me duplication
> of record if the job fails.....thats too dangerous is there any way where
> we can make sure that solr maintain unique key but don't index it.
>

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