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]<javascript:>
> >:
>
>> 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/
>>>> content/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] <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