Re: Add UUID on the schema

2018-05-17 Thread Erick Erickson
I strongly advise downloading the full Solr reference guide, searching
there first often gets you answers quickly, in this case

At the top of every on-line version, there's an "other formats" link
that has an "archived PDFs" link that will take you to a page that
allows you to download the version specific to your release way back
to about 4.10, here it is for convenience:
https://archive.apache.org/dist/lucene/solr/ref-guide/

If you search for "UUID" you'll get a note about how SolrCloud needs
UUIDUpdateProcessorFactory to work correctly in SolrCloud mode.

Best,
Erick

On Thu, May 17, 2018 at 5:11 AM, @Nandan@
 wrote:
> Here is some basic question based on that answers vary.
> 1) Are you going to use UUID column as unique column.
> 2) what do you with that column.
>
> Process :-
> Column is :-
>
> 
>
>For Add this :-
>
>  default="NEW" multiValued="false"/>
>
> And then need to add in uniqueid section.
>
> id
>
>
>
> On Thu, May 17, 2018 at 5:00 PM, msaunier  wrote:
>
>> Hello,
>>
>>
>>
>> I use SolrCloud 7.0 and I don't have find how to add an UID field on the
>> schema. I have add UUIDField type and add a field but it do not work.
>>
>>
>>
>>
>>
>>   {
>>
>> "name": "uid",
>>
>> "class": "solr.UUIDField",
>>
>> "indexed": true,
>>
>> "stored": true
>>
>>   },
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>>
>>
>>


Re: Add UUID on the schema

2018-05-17 Thread @Nandan@
Here is some basic question based on that answers vary.
1) Are you going to use UUID column as unique column.
2) what do you with that column.

Process :-
Column is :-



   For Add this :-



And then need to add in uniqueid section.

id



On Thu, May 17, 2018 at 5:00 PM, msaunier  wrote:

> Hello,
>
>
>
> I use SolrCloud 7.0 and I don't have find how to add an UID field on the
> schema. I have add UUIDField type and add a field but it do not work.
>
>
>
>
>
>   {
>
> "name": "uid",
>
> "class": "solr.UUIDField",
>
> "indexed": true,
>
> "stored": true
>
>   },
>
>
>
> Thanks for your help.
>
>
>
>
>
>


Add UUID on the schema

2018-05-17 Thread msaunier
Hello,

 

I use SolrCloud 7.0 and I don't have find how to add an UID field on the
schema. I have add UUIDField type and add a field but it do not work.  

 

 

  {

"name": "uid",

"class": "solr.UUIDField",

"indexed": true,

"stored": true

  },

 

Thanks for your help.