I think the problem it is in the pom.xml... If i try to make a build of my application I get this...
*Could not resolve dependencies for project .... Failure to find com.orientechnologies:lucene:jar:1.7-SNAPSHOT-dist in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]* Enrico, Look at my lucene jar set up here below...Is this correct? <dependency> <groupId>com.orientechnologies</groupId> <artifactId>lucene</artifactId> <version>1.7-SNAPSHOT-dist</version> <scope>compile</scope> </dependency> Il giorno martedì 6 maggio 2014 11:58:32 UTC+2, Andrea Ottaviani ha scritto: > > In the instruction where a try to acquire a db connection: > > "connectionPool.acquire(STORAGE_URL, STORAGE_USERNAME, STORAGE_PASSWORD);" > > BELOW THE EXCEPTION.... > > Trying to connect to the remote host 127.0.0.1:2424/myapplication... > Client connected to 127.0.0.1:2424/myapplication with session id=2 > Error on loading of index by configuration: > {type:FULLTEXT,algorithm:LUCENE,valueContainerAlgorithm:SBTREEBONSAISET,name:MyClass.idx,indexDefinition:{className:MyClass,field:idx,keyType:STRING,collate:default,nullValuesIgnored:true},indexDefinitionClass:com.orientechnologies.orient.core.index.OPropertyIndexDefinition,clusters:[1],mapRid:null} > > com.orientechnologies.orient.core.index.OIndexException: Index type : > FULLTEXT is not supported. Types are > [UNIQUE,FULLTEXT,FULLTEXT_HASH_INDEX,DICTIONARY_HASH_INDEX,DICTIONARY,UNIQUE_HASH_INDEX,NOTUNIQUE_HASH_INDEX,NOTUNIQUE] > at > com.orientechnologies.orient.core.index.OIndexes.createIndex(OIndexes.java:128) > at > com.orientechnologies.orient.core.index.OIndexManagerRemote.fromStream(OIndexManagerRemote.java:131) > at > com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:70) > at > com.orientechnologies.orient.core.index.OIndexManagerAbstract.load(OIndexManagerAbstract.java:98) > at > com.orientechnologies.orient.core.index.OIndexManagerAbstract.load(OIndexManagerAbstract.java:54) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault$2.call(OMetadataDefault.java:131) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault$2.call(OMetadataDefault.java:121) > at > com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53) > at > com.orientechnologies.orient.client.remote.OStorageRemoteThread.getResource(OStorageRemoteThread.java:702) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:120) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68) > at > com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:291) > at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54) > at > com.orientechnologies.orient.core.db.document.ODatabaseDocumentTxPooled.<init>(ODatabaseDocumentTxPooled.java:47) > at > com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool.createResource(ODatabaseDocumentPool.java:44) > at > com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool.createResource(ODatabaseDocumentPool.java:20) > at > com.orientechnologies.orient.core.db.ODatabasePoolBase$1.createNewResource(ODatabasePoolBase.java:72) > at > com.orientechnologies.orient.core.db.ODatabasePoolBase$1.createNewResource(ODatabasePoolBase.java:61) > at > com.orientechnologies.common.concur.resource.OResourcePool.getResource(OResourcePool.java:82) > at > com.orientechnologies.common.concur.resource.OReentrantResourcePool.getResource(OReentrantResourcePool.java:63) > at > com.orientechnologies.orient.core.db.ODatabasePoolAbstract.acquire(ODatabasePoolAbstract.java:149) > at > com.orientechnologies.orient.core.db.ODatabasePoolAbstract.acquire(ODatabasePoolAbstract.java:134) > at > com.orientechnologies.orient.core.db.ODatabasePoolBase.acquire(ODatabasePoolBase.java:119) > at it.andrea.myapplication.DBManager.getDefaultGraph(DBManager.java:263) > at > it.andrea.myapplication.SchemaManager.getRouteEdges(SchemaManager.java:114) > at > it.andrea.myapplication.SchemaManager.buildTraverseInRouteEdgeSubEdges(SchemaManager.java:85) > at it.andrea.myapplication.SchemaManager.<init>(SchemaManager.java:53) > at it.andrea.myapplication.SchemaManager.initialize(SchemaManager.java:60) > at it.andrea.myapplication.verticle.App.start(App.java:60) > at org.vertx.java.platform.Verticle.start(Verticle.java:82) > at > org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1278) > at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:171) > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:366) > at > io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) > at java.lang.Thread.run(Thread.java:744) > > Il giorno martedì 6 maggio 2014 11:39:01 UTC+2, Enrico Risa ha scritto: >> >> Where do you experience this error? >> >> com.orientechnologies.orient.core.index.OIndexException: Index type : >> FULLTEXT is not supported. Types are [UNIQUE,FULLTEXT,FULLTEXT_ >> HASH_INDEX,DICTIONARY_HASH_INDEX,DICTIONARY,UNIQUE_HASH_ >> INDEX,NOTUNIQUE_HASH_INDEX,NOTUNIQUE] >> >> Do you have the full stack? >> >> >> 2014-05-06 11:29 GMT+02:00 Andrea Ottaviani <[email protected]>: >> >>> I have done my own schema, simply like this... >>> >>> CREATE CLASS MyClass EXTENDS MySuperClass >>> CREATE PROPERTY MyClass.idx STRING >>> CREATE INDEX MyClass.idx on MyClass (idx) FULLTEXT ENGINE LUCENE >>> >>> >>> Thank you ! >>> >>> >>> Il giorno martedì 6 maggio 2014 11:22:54 UTC+2, Enrico Risa ha scritto: >>>> >>>> How do you create the index from your application? >>>> >>>> >>>> 2014-05-06 11:07 GMT+02:00 Andrea Ottaviani <[email protected]>: >>>> >>>>> Thanks Enrico, >>>>> i'm using remote configuration in my app ! >>>>> >>>>> Il giorno martedì 6 maggio 2014 10:53:17 UTC+2, Enrico Risa ha scritto: >>>>>> >>>>>> Hi Andrea, >>>>>> >>>>>> are you using local or remote in your application? >>>>>> >>>>>> >>>>>> 2014-05-06 10:45 GMT+02:00 Andrea Ottaviani <[email protected]>: >>>>>> >>>>>> Hi Guys, i have an orientdb 1.7 SNAPSHOT installation with lucene >>>>>>> integration. >>>>>>> >>>>>>> I'm developing my own application. I have a lucene index field on a >>>>>>> vertex. It seems to be work fine making queries from the studio, but >>>>>>> not >>>>>>> from my application where i have got this exception: >>>>>>> >>>>>>> com.orientechnologies.orient.core.index.OIndexException: Index type >>>>>>> : FULLTEXT is not supported. Types are [UNIQUE,FULLTEXT,FULLTEXT_ >>>>>>> HASH_INDEX,DICTIONARY_HASH_INDEX,DICTIONARY,UNIQUE_HASH_INDEX, >>>>>>> NOTUNIQUE_HASH_INDEX,NOTUNIQUE] >>>>>>> >>>>>>> Probably i should set up the lucene-1.7-SNAPSHOT-dist.jar >>>>>>> dependencies in the pom.xml of my application: i tried to configure it >>>>>>> in >>>>>>> this way: >>>>>>> >>>>>>> <dependency> >>>>>>> <groupId>com.orientechnologies</groupId> >>>>>>> <artifactId>lucene</artifactId> >>>>>>> <version>1.7-SNAPSHOT</version> >>>>>>> <scope>compile</scope> >>>>>>> </dependency> >>>>>>> >>>>>>> ...it doesn't work properly, and i have got this error: Could not >>>>>>> find artifact com.orientechnologies:lucene:jar:1.7-SNAPSHOT-dist in >>>>>>> sonatype-nexus-snapshots (https://oss.sonatype.org/cont >>>>>>> ent/repositories/snapshots) -> [Help 1] >>>>>>> >>>>>>> Any Ideas ? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Il giorno lunedì 5 maggio 2014 20:14:56 UTC+2, Marc Tigges ha >>>>>>> scritto: >>>>>>> >>>>>>>> If i build 1.7-SNAPSHOT and add it to lib it works fine. Thank you. >>>>>>>> >>>>>>>> Am Montag, 5. Mai 2014 18:45:16 UTC+2 schrieb Enrico Risa: >>>>>>>>> >>>>>>>>> if you can try it with the OrientDB 1.7-SNAPSHOT >>>>>>>>> >>>>>>>>> >>>>>> -- >>>>> >>>>> --- >>>>> 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. >>> >> >> -- --- 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.
