Hi, I'm trying to use multiple indexes for the same *STRING* property. Namely NOTUNIQUE (Name: *MyClass.text*) backed by SBTree as the engine and FULLTEXT (Name: *MyClass.fulltext*) backed by Lucene as the engine. OrientDB let's me create both indexes for the same property without a problem, but querying for it is strange. >From the documentation (http://orientdb.com/docs/2.0/orientdb-lucene.wiki/Full-Text-Index.html) I was under the impression, that the Lucene Index would kick in, as soon as I use a query string with the statement LUCENE instead of an equals sign or 'like' etc. . But executing the following command uses the NOTUNIQUE '*MyClass.text*' index:
select * from MyClass where text* LUCENE *"SomeString*" It does not return any results used like that. The same index is used when I execute the other query: select * from MyClass where text* = *"SomeString" Which does return some records. What am I doing wrong here? How can i use both indexes (exact / fuzzy) in my queries? Regards, Steffen -- --- 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.
