If this is the latest OrientDB snapshort:

orientdb-community-1.7-20140513.150757-196-distribution.zip Tue May 13 
10:09:31<https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/1.7-SNAPSHOT/>

And If this is the latest lucene plugin:

Lucene plugin<https://github.com/orientechnologies/orientdb-lucene/releases>

The exception is not fixed :(



Btw now i see that the small java lucene index exmaple has a small mistake.
Class "Foo" is created but class "City" is used.

Am Mittwoch, 14. Mai 2014 11:12:20 UTC+2 schrieb Enrico Risa:
>
> Try it with the latest Orientdb 1.7-SNAPSHOT that has a fix for this Java 
> Exception
>  
>
>
> 2014-05-14 11:10 GMT+02:00 Montrazul <[email protected]<javascript:>
> >:
>
>> Hi Enrico,
>>
>> The database starts again with your latest 1.7-SNAPSHOT and creating a 
>> lucene index manually in console
>> works too:
>>
>> CREATE INDEX <name> ON <class-name> (prop-names) FULLTEXT ENGINE LUCENE
>>
>>
>> Unfortunately the java variant does not work. This:
>>
>> OSchema schema = databaseDocumentTx.getMetadata().getSchema();
>>
>> OClass oClass = schema.createClass("Foo");
>>
>>
>> oClass.createProperty("name", OType.STRING);
>>
>>
>> oClass.createIndex("City.name", "FULLTEXT", null, null, "LUCENE", new 
>> String[] { "name"});
>>
>>
>> Leads to this:
>>
>> Exception in thread "main" 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]
>>
>> Best regards
>>
>>
>> Am Mittwoch, 14. Mai 2014 10:56:23 UTC+2 schrieb Enrico Risa:
>>>
>>> Hi all,
>>> i've done a new release compatible with the latest 1.7-SNAPSHOT, you can 
>>> find it here https://github.com/orientechnologies/orientdb-
>>> lucene/releases.
>>> Remove the old jar under $ORIENTDB_HOME/lib and place the new one under 
>>> $ORIENTDB_HOME/plugins.
>>> When OrientDB is starting you should see in the log:
>>>
>>> INFO Lucene index plugin installed and active. Lucene version: LUCENE_47 
>>> [OLuceneIndexPlugin]
>>>
>>>
>>> Enrico
>>>
>>>
>>> 2014-05-13 20:59 GMT+02:00 Enrico Risa <[email protected]>:
>>>
>>>> Hi Montrazul, 
>>>>
>>>> i think tomorrow i will make a new release compatible with the latest 
>>>> snapshot and that can
>>>> be installed as a regular OrientDB plugin under $ORIENTDB_HOME/plugins
>>>>
>>>>
>>>> 2014-05-13 20:43 GMT+02:00 Montrazul <[email protected]>:
>>>>  
>>>> Oh thats great. Do you know already when it will be updated?
>>>>>
>>>>> I need this. OrientDB is just too important :D
>>>>>
>>>>>
>>>>> Am Dienstag, 13. Mai 2014 09:08:33 UTC+2 schrieb Enrico Risa:
>>>>>
>>>>>> Hi Seesm that
>>>>>>
>>>>>> OIndexCursor$OIndexCursorSingleValue
>>>>>>
>>>>>> Is not anymore in the latest snapshot. I have to fix it and make a 
>>>>>> new release
>>>>>>
>>>>>>
>>>>>> 2014-05-13 7:58 GMT+02:00 Montrazul <[email protected]>:
>>>>>>
>>>>>>> Hallo,
>>>>>>>
>>>>>>> im working with the lates OrientDB 1.7-SNAPSHOT, with Windows 8 and 
>>>>>>> Java 1.8.
>>>>>>> I downloaded Lucene-1.7-SNAPSHOT from 
>>>>>>> here<https://github.com/orientechnologies/orientdb-lucene/releases> and 
>>>>>>> added it to the lib under 
>>>>>>> ORIENTDB_HOME/lib/.
>>>>>>> I restarted the server and tried to log in into my database. 
>>>>>>> Unfortunately it is not 
>>>>>>> possible while the lucene jar is in my lib folder:
>>>>>>>
>>>>>>> Caused by: java.util.ServiceConfigurationError: 
>>>>>>> com.orientechnologies.orient.core.sql.operator.OQueryOperatorFactory: 
>>>>>>> Provider com.orientechnologies.lucene.operator.OLuceneOperatorFactory 
>>>>>>> could not be instantiated: java.lang.NoClassDefFoundError: 
>>>>>>> com/orientechnologies/orient/core/index/OIndexCursor$OIndexC
>>>>>>> ursorSingleValue
>>>>>>>  at java.util.ServiceLoader.fail(ServiceLoader.java:224)
>>>>>>> at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
>>>>>>>  at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.
>>>>>>> java:377)
>>>>>>> at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
>>>>>>>  at com.orientechnologies.orient.core.sql.OSQLEngine.getOperator
>>>>>>> Factories(OSQLEngine.java:164)
>>>>>>> at com.orientechnologies.orient.core.sql.OSQLEngine.getRecordOp
>>>>>>> erators(OSQLEngine.java:320)
>>>>>>>  at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.e
>>>>>>> xtractConditionOperator(OSQLPredicate.java:205)
>>>>>>>  at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.e
>>>>>>> xtractCondition(OSQLPredicate.java:173)
>>>>>>>  at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.e
>>>>>>> xtractConditions(OSQLPredicate.java:126)
>>>>>>>  at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.t
>>>>>>> ext(OSQLPredicate.java:82)
>>>>>>>  ... 22 more
>>>>>>> Caused by: java.lang.NoClassDefFoundError: 
>>>>>>> com/orientechnologies/orient/core/index/OIndexCursor$OIndexC
>>>>>>> ursorSingleValue
>>>>>>>  at com.orientechnologies.lucene.operator.OLuceneOperatorFactory.<
>>>>>>> clinit>(OLuceneOperatorFactory.java:33)
>>>>>>>  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
>>>>>>> Method)
>>>>>>>  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
>>>>>>> ConstructorAccessorImpl.java:57)
>>>>>>>  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
>>>>>>> legatingConstructorAccessorImpl.java:45)
>>>>>>>  at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>>>>>>> at java.lang.Class.newInstance0(Class.java:374)
>>>>>>>  at java.lang.Class.newInstance(Class.java:327)
>>>>>>> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
>>>>>>>  ... 29 more
>>>>>>> Caused by: java.lang.ClassNotFoundException: 
>>>>>>> com.orientechnologies.orient.core.index.OIndexCursor$OIndexC
>>>>>>> ursorSingleValue
>>>>>>>  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>>>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>>>>>>> ... 37 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.
>>>>>
>>>>
>>>>
>>>  -- 
>>
>> --- 
>> 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] <javascript:>.
>> 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