You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The index creation will fail with the following message :
Error: com.orientechnologies.orient.core.index.OIndexException: Cannot create the index 'Luindex.afield'
Error: java.lang.IllegalArgumentException: DocValuesField "afield" is too large, must be <= 32766
Also if we create the index when the Luindex vertex is empty, index will be created, but the INSERT statement will fail with the same error.
The text was updated successfully, but these errors were encountered:
mpomet
changed the title
[Lucene Indexes] Cannot Insert large data into a indexed field
[Lucene] Cannot Insert large data into a indexed field
Sep 25, 2019
for sorting text fields, which ultimately leads to this exception. For backward compatibility the default behaviour will be the same. I've added the possibility in index creation to exclude sorting.
For example
create index Person.description on Person(description) FULLTEXT ENGINE LUCENE METADATA { "description_index_sorted" : false }
OrientDB Version: 3.0.23
OS: Linux
Expected behavior
Lucene Index works with all content size OR is configurable to work with all string data.
Actual behavior
OrientDB throw an error with large indexed content.
Steps to reproduce
The index creation will fail with the following message :
Also if we create the index when the Luindex vertex is empty, index will be created, but the
INSERT
statement will fail with the same error.The text was updated successfully, but these errors were encountered: