lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id
Date Mon, 02 Nov 2015 15:26:54 GMT
On Mon, Nov 2, 2015 at 1:38 PM, fabigol <fabien.stouder@vialtis.com> 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: 17433
> (1743/s)
>
> What is the "requests"?
> What is 'Fetched"?
> What is "Processed"?
>
> Thank again for your answer
>

Depends upon how DIH is configured - different things return different
numbers. For a SqlEntityProcessor, "Requests" is the number of SQL
queries, "Fetched" is the number of rows read from those queries, and
"Processed" is the number of documents processed by SOLR.

> For the second question, i try:
>                 <lst name="invariants">
>                         <str name="clean">false</str>
>                 </lst>
>
> and
>                         <bool name="commit">true</bool>
>                         <bool name="clean">false</bool>
>

Putting things in "invariants" overrides whatever is passed for that
parameter in the request parameters. By putting "<bool
name="clean">false</bool>" in invariants, you are making it impossible
to clean + index as part of DIH, because "clean" is always false.

Cheers

Tom

Mime
View raw message