Hi Chetan

I created OAK-3020 and attached the full stack trace there. The root
cause is an IllegalArgumentException in Lucene, which in turn causes a
CommitFailedException (OakLucene003):

Caused by: java.lang.IllegalArgumentException: DocValuesField
":dvjcr:content/metadata/prism:expirationDate" appears more than once
in this document (only one value is allowed per field)
        at 
org.apache.lucene.index.NumericDocValuesWriter.addValue(NumericDocValuesWriter.java:54)
        at 
org.apache.lucene.index.DocValuesProcessor.addNumericField(DocValuesProcessor.java:153)

Regards
Julian



On Mon, Jun 22, 2015 at 4:33 PM, Chetan Mehrotra
<[email protected]> wrote:
> Hi Julian,
>
> On Mon, Jun 22, 2015 at 2:24 PM, Julian Sedding <[email protected]> wrote:
>> due to an oddity in the metadata of a PDF file, async indexing
>> failed with an exception
>
> What was the error you got. LuceneIndexEditor does take care of
> exception and move on [1]. So it should not cause the indexing to
> break
>
> Chetan Mehrotra
> [1] 
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditor.java#L822

Reply via email to