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.sac...@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.
>

Reply via email to