Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-11-02 Thread Tom Evans
On Mon, Nov 2, 2015 at 1:38 PM, fabigol wrote: > Thank > All works. > I have 2 last questions: > How can i put 0 by defaults " clean" during a indexation? > > To conclure, i wand to understand: > > > Requests: 7 (1/s), Fetched: 452447 (45245/s), Skipped: 0, Processed:

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-11-02 Thread fabigol
For the second question, i try: false and true false in solrConfig.xml but without success? -- View this message in context:

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-11-02 Thread fabigol
Thank All works. I have 2 last questions: How can i put 0 by defaults " clean" during a indexation? To conclure, i wand to understand: Requests: 7 (1/s), Fetched: 452447 (45245/s), Skipped: 0, Processed: 17433 (1743/s) What is the "requests"? What is 'Fetched"? What is "Processed"? Thank

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-11-01 Thread fabigol
hi, if i understand well. In the configuration following:

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-30 Thread fabigol
Hi, great thank for your replies. I undated that you said me the same thing. Is it right? In some record, it is missing the id_tiers? I have a question, how is it possible that the mapping does not work? I'm going to check my data (response request). I must have the field id_fields not empty?

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-30 Thread Mikhail Khludnev
Try to remove http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field On Fri, Oct 30, 2015 at 12:51 PM, fabigol wrote: > Hi, > great thank for your replies. > I undated that you said me the same thing. Is it right? > In some record, it is missing the id_tiers? > >

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-29 Thread Shawn Heisey
On 10/29/2015 1:54 AM, fabigol wrote: > hi, > thank to your reply > When you says > 'You must have a field labeled "id" in the doc sent to Solr'. it's in the > response of the select that i must get an "id"? i must write "select > 'something' as ID" is it good??? > in schema.xml i have the

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-29 Thread Erick Erickson
When you have a defined in schema.xml, that is a field in the doc that must exist in every doc you send to Solr. Actually, you'll see in the definition for the field that it has required="true" set. Assuming you have a column "carte_id" being selected for all docs inserted into Solr that

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-29 Thread fabigol
hi, thank to your reply When you says 'You must have a field labeled "id" in the doc sent to Solr'. it's in the response of the select that i must get an "id"? i must write "select 'something' as ID" is it good??? in schema.xml i have the following line ID end my data-import file i have I

Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-28 Thread Erick Erickson
field (case matters) for each record sent to Solr. Best, Erick On Wed, Oct 28, 2015 at 2:59 PM, fabigol <fabien.stou...@vialtis.com> wrote: > Hi, > i have a big problem. Solr doesn't index and i have following error: > org.apache.solr.common.SolrException: Document is missing mandator

org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

2015-10-28 Thread fabigol
Hi, i have a big problem. Solr doesn't index and i have following error: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: ID here my files