Hi all,

I'm encountering a problem to index a document with a large number of
values for one facet.

Caused by: java.lang.IllegalArgumentException: DocValuesField "$facets"
is too large, must be <= 32766
        at
org.apache.lucene.index.BinaryDocValuesWriter.addValue(BinaryDocValuesWriter.java:57)
        at
org.apache.lucene.index.DocValuesProcessor.addBinaryField(DocValuesProcessor.java:111)
        at
org.apache.lucene.index.DocValuesProcessor.addField(DocValuesProcessor.java:57)
        at
org.apache.lucene.index.TwoStoredFieldsConsumers.addField(TwoStoredFieldsConsumers.java:36)
        at
org.apache.lucene.index.DocFieldProcessor.processDocument(DocFieldProcessor.java:242)
        at
org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:256)
        at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:376)
        at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)


It's obviously hard to visualize such a big number of facets to the user
and is also hard to evaluate which of these values to skip to permit to
store this document into the index.

Do you have any suggestion on how to overcome this number? is it
possible?



Nicola


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to