Can't Connect to DataBase using Plocal from JAVA .Index type FULLTEXT is not supported by the engine

29 views
Skip to first unread message

Maxim Nikolaev

unread,
Oct 5, 2017, 9:23:25 AM10/5/17
to OrientDB
I success connect using  Console.sh and plocal mode,  but when I launch jar I see this error : 


Oct 05, 2017 4:12:43 PM com.orientechnologies.common.log.OLogManager log

INFO: OrientDB auto-config DISKCACHE=6,981MB (heap=6,981MB direct=6,981MB os=31,414MB)

Oct 05, 2017 4:12:43 PM com.orientechnologies.common.log.OLogManager log

INFO: Lowering disk cache size from 6,981MB to 6,979MB.

Oct 05, 2017 4:12:45 PM com.orientechnologies.common.log.OLogManager log

SEVERE: $ANSI{green {db=newdb}} Exception `52E6FDEE` in storage `newdb`

com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/orient/databases/newdb' with mode=rw

DB name="newdb"

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:297)

at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:258)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1918)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:162)

at com.tinkerpop.blueprints.impls.orient.OrientGraphNoTx.<init>(OrientGraphNoTx.java:72)

at Linker.main(Linker.java:14)

Caused by: com.orientechnologies.orient.core.index.OIndexException: Index type FULLTEXT is not supported by the engine 'LUCENE'. Types are [NOTUNIQUE_HASH_INDEX,FULLTEXT,UNIQUE,UNIQUE_HASH_INDEX,DICTIONARY,DICTIONARY_HASH_INDEX,NOTUNIQUE,FULLTEXT_HASH_INDEX]

DB name="newdb"

at com.orientechnologies.orient.core.index.OIndexes.findFactoryByAlgorithmAndType(OIndexes.java:167)

at com.orientechnologies.orient.core.index.OIndexes.createIndexEngine(OIndexes.java:174)

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.openIndexes(OAbstractPaginatedStorage.java:319)

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:271)

... 5 more


Exception in thread "main" com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/orient/databases/newdb' with mode=rw

DB name="newdb"

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:297)

at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:258)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1918)

at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:162)

at com.tinkerpop.blueprints.impls.orient.OrientGraphNoTx.<init>(OrientGraphNoTx.java:72)

at Linker.main(Linker.java:14)

Caused by: com.orientechnologies.orient.core.index.OIndexException: Index type FULLTEXT is not supported by the engine 'LUCENE'. Types are [NOTUNIQUE_HASH_INDEX,FULLTEXT,UNIQUE,UNIQUE_HASH_INDEX,DICTIONARY,DICTIONARY_HASH_INDEX,NOTUNIQUE,FULLTEXT_HASH_INDEX]

DB name="newdb"

at com.orientechnologies.orient.core.index.OIndexes.findFactoryByAlgorithmAndType(OIndexes.java:167)

at com.orientechnologies.orient.core.index.OIndexes.createIndexEngine(OIndexes.java:174)

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.openIndexes(OAbstractPaginatedStorage.java:319)

at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:271)

... 5 more

Enrico Risa

unread,
Oct 5, 2017, 9:26:42 AM10/5/17
to orient-...@googlegroups.com
Hi Maxim

you should add orientdb-lucene in your pom.xml if you use maven as dependency.

--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maxim Nikolaev

unread,
Oct 5, 2017, 9:58:56 AM10/5/17
to OrientDB
I'm using InlelliJ IDEA ...Add dependence on orientdb-lucene to SCOPE provided - not help me

четверг, 5 октября 2017 г., 16:26:42 UTC+3 пользователь Enrico Risa написал:
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.

Enrico Risa

unread,
Oct 5, 2017, 10:14:42 AM10/5/17
to orient-...@googlegroups.com
Are you building a single executable JAR?



To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.

Maxim Nikolaev

unread,
Oct 5, 2017, 10:17:02 AM10/5/17
to orient-...@googlegroups.com
Yes

четверг, 5 октября 2017 г., 17:14:42 UTC+3 пользователь Enrico Risa написал:
Reply all
Reply to author
Forward
0 new messages