It seems that there were no problems when I created a LUCENE index but I 
see this error in the log when I first load my database...

V 2.1

*Error on loading index by configuration:* 
{type:SPATIAL,name:LL01.l,indexVersion:1,indexDefinition:{className:LL01,indexDefinitions:[2],indClasses:[2],nullValuesIgnored:true},indexDefinitionClass:com.orientechnologies.orient.core.index.OCompositeIndexDefinition,clusters:[1],mapRid:null,algorithm:LUCENE,valueContainerAlgorithm:NONE}
com.orientechnologies.orient.core.index.OIndexException: Engine type: 
'LUCENE' is *not supported*. Types are [SBTREE,MVRBTREE]. 

*Please check the engine name or verify that the engine 'LUCENE' is 
installed correctly*I create everything like this...

CREATE CLASS LL EXTENDS V;
    CREATE PROPERTY LL.y DOUBLE;
    ALTER PROPERTY LL.y NOTNULL true;
    ALTER PROPERTY LL.y MANDATORY true;
    CREATE PROPERTY LL.x DOUBLE;
    ALTER PROPERTY LL.x NOTNULL true;
    ALTER PROPERTY LL.x MANDATORY true;

    CREATE INDEX LL.l ON LL(y,x) SPATIAL ENGINE LUCENE;



I also tried with Shorts to make it more efficient...  (and I added an 
extra index to search exact matches quicker in that one)...

CREATE CLASS LL1 EXTENDS V;
    CREATE PROPERTY LL1.y Short;
    ALTER PROPERTY LL1.y NOTNULL true;
    ALTER PROPERTY LL1.y MANDATORY true;
    CREATE PROPERTY LL1.x Short;
    ALTER PROPERTY LL1.x NOTNULL true;
    ALTER PROPERTY LL1.x MANDATORY true;
    
    CREATE INDEX LL1.i ON LL1(y,x) UNIQUE_HASH_INDEX;
    CREATE INDEX LL1.l ON LL1(y,x) SPATIAL ENGINE LUCENE;

Errors are in both

The .jar is there in by default and I do see it listed when I start server 
on the console.

Thanks in advance for your help.

-- 

--- 
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