--
---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
mvn assembly:assemblyFailed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project lucene: Fatal error compiling: invalid target release: 1.7 -> [Help 1]Hi Glenn,
I will make a release as soon as i can, so you can start testing it.
For the assembly i will remove the target release 1.7. Meamwhile try to put 1.6 in the pom.xml
Enrico
Hi Glenn,
I will make a release as soon as i can, so you can start testing it.
For the assembly i will remove the target release 1.7. Meamwhile try
to put 1.6 in the pom.xml
Enrico
Il 25/apr/2014 15:05 "Glenn Goodrich" <gl...@goodrichs.net
<mailto:gl...@goodrichs.net>> ha scritto:
So, the wiki says to either grab a release from the releases page,
and there aren't any, or to
||
mvn assembly:assembly
which results in
||
Failedto execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile)on project lucene:Fatalerror compiling:invalid
target release:1.7->[Help1]
Any idea what I am doing wrong? I'd love to start testing this ASAP.
Thanks,
Glenn
On Thursday, April 24, 2014 12:14:14 PM UTC-4, Enrico Risa wrote:
Hi All,
a new module for OrientDB is available. The first integration
OrientDB / Lucene is out.
The integration for now is focused on Full Text Index and
Spatial Index.
You can find the Docs here
<https://github.com/orientechnologies/orientdb-lucene/wiki> on how
to install and use the module.
Give it a try,
contributions are welcome.
Best Regards
Enrico
--
---
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 orient-databa...@googlegroups.com
<mailto:orient-databa...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the
Google Groups "OrientDB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/orient-database/hYneKg4_Gw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
orient-databa...@googlegroups.com
<mailto:orient-databa...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
You received this message because you are subscribed to a topic in the
Google Groups "OrientDB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/orient-database/hYneKg4_Gw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
orient-databa...@googlegroups.com
For more options, visit https://groups.google.com/d/optout.
Hi all,Starting from v 1.7 (soon) the Lucene module will always be part of OrientDB Community distribution.
--
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]
2)select * from V where name LUCENE "test*"
exception:com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #27: Invalid keyword 'LUCENE' Command: select * from V where name LUCENE "test*" -----------------------------------^
Any idea?
Thanks
Stefano
You received this message because you are subscribed to a topic in the
Google Groups "OrientDB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/orient-database/hYneKg4_Gw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
orient-databa...@googlegroups.com
For more options, visit https://groups.google.com/d/optout.
Hi Carlo,
Do you have the log of the server at startup?
Do you mean that replication is delegated to OrientDB/hazelcast?
Hi Guillaume,
Yes it is compatible with the 1.7 SNAPSHOT.
I think there is not a SNAPSHOT release.
You have to clone the project, use checkout the branch develop and run ant clean install and you will find the folder
releases in the parent folder of the project that contains the snapshot release
Enrico
--
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$OIndexCursorSingleValue 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.getOperatorFactories(OSQLEngine.java:164) at com.orientechnologies.orient.core.sql.OSQLEngine.getRecordOperators(OSQLEngine.java:320) at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.extractConditionOperator(OSQLPredicate.java:205) at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.extractCondition(OSQLPredicate.java:173) at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.extractConditions(OSQLPredicate.java:126) at com.orientechnologies.orient.core.sql.filter.OSQLPredicate.text(OSQLPredicate.java:82) ... 22 moreCaused by: java.lang.NoClassDefFoundError: com/orientechnologies/orient/core/index/OIndexCursor$OIndexCursorSingleValue at com.orientechnologies.lucene.operator.OLuceneOperatorFactory.<clinit>(OLuceneOperatorFactory.java:33) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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 moreCaused by: java.lang.ClassNotFoundException: com.orientechnologies.orient.core.index.OIndexCursor$OIndexCursorSingleValue 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
CREATE INDEX <name> ON <class-name> (prop-names) FULLTEXT ENGINE LUCENE
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"});
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]
Hi all!
Hi All,a new module for OrientDB is available. The first integration OrientDB / Lucene is out.The integration for now is focused on Full Text Index and Spatial Index.You can find the Docs here https://github.com/orientechnologies/orientdb-lucene/wiki on howto install and use the module.Give it a try,contributions are welcome.Best RegardsEnrico
select * from my_class where my_property LUCENE "foo"
return this.graph.getVertices("my_class.my_property","foo");public static void main(String[] args) { String pathToDatabase = "plocal:D:/testDB"; GraphDAOOrientDB graphDAO = new GraphDAOOrientDB(pathToDatabase); graphDAO.openGraph(false); OrientVertexType vertexType = graphDAO.createVertexType("test", null); graphDAO.createProperty(vertexType, "test", OType.STRING); graphDAO.createIndex(vertexType, "test", INDEX_TYPE.DICTIONARY_HASH_INDEX, "test"); graphDAO.closeGraph();}public static void main(String[] args) { String pathToDatabase = "plocal:D:/testDB"; GraphDAOOrientDB graphDAO = new GraphDAOOrientDB(pathToDatabase); graphDAO.openGraph(false); OrientVertexType vertexType = graphDAO.createVertexType("test", null); graphDAO.createProperty(vertexType, "test", OType.STRING); graphDAO.createLuceneIndex(vertexType, "test2", "test"); graphDAO.closeGraph();}Ok it is definitely related to lucene.
this works:
public static void main(String[] args) {String pathToDatabase = "plocal:D:/testDB";GraphDAOOrientDB graphDAO = new GraphDAOOrientDB(pathToDatabase);graphDAO.openGraph(false);OrientVertexType vertexType = graphDAO.createVertexType("test", null);graphDAO.createProperty(vertexType, "test", OType.STRING);graphDAO.createIndex(vertexType, "test", INDEX_TYPE.DICTIONARY_HASH_INDEX, "test");graphDAO.closeGraph();}
this not:
public static void main(String[] args) {String pathToDatabase = "plocal:D:/testDB";GraphDAOOrientDB graphDAO = new GraphDAOOrientDB(pathToDatabase);graphDAO.openGraph(false);OrientVertexType vertexType = graphDAO.createVertexType("test", null);graphDAO.createProperty(vertexType, "test", OType.STRING);graphDAO.createLuceneIndex(vertexType, "test2", "test");graphDAO.closeGraph();}
Am Montag, 19. Mai 2014 19:28:40 UTC+2 schrieb Montrazul:
public static void main(String[] args) { String pathToDatabase = "plocal:D:/testDB";
OrientGraph graph = new OrientGraph(pathToDatabase, false);
OrientVertexType type = graph.createVertexType("City"); type.createProperty("latitude", OType.DOUBLE); type.createProperty("longitude", OType.DOUBLE); type.createProperty("name", OType.STRING); type.createIndex("City.name", "FULLTEXT", null, null, "LUCENE", new String[] { "name" });
graph.addVertex("class:City", new Object[] { "name", "London" }); graph.addVertex("class:City", new Object[] { "name", "Rome" });
graph.commit(); Iterable<Vertex> vertexes = graph.getVertices("City.name", "London"); for (Vertex v : vertexes) { System.out.println(v.getId()); } graph.shutdown();}<dependency> <groupId>com.orientechnologies</groupId> <artifactId>orientdb-lucene</artifactId> <version>1.7-SNAPSHOT</version></dependency>select * from my_class where my_property LUCENE "foo"
return this.graph.getVertices("my_class.my_property","foo");CREATE INDEX my_class.my_property ON my_class (my_property by value) FULLTEXT ENGINE LUCENECREATE INDEX my_class.my_property ON my_class (my_property by value) FULLTEXT ENGINE LUCENE my_type