Hi Maxim

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

2017-10-05 15:23 GMT+02:00 Maxim Nikolaev <[email protected]>:

> 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
>
> --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to