Hi Joseph i think it could related to the new parser.Can you fill a bug here https://github.com/orientechnologies/orientdb-lucene/issues
Thanks 2015-05-23 19:03 GMT+02:00 Joseph Macaulay <[email protected]>: > Well, getting closer. Any suggestions would be appreciated. This is >> using OrientDB-2.1-RC3. I've dropped and re-created the index. The index >> shows it has two values in the database, and I have two corresponding >> documents in the database. However, it seems that the query still doesn't >> work, please see below. >> > > {db=city} Error on using index cities.lat_lon in query 'SELECT *, > $distance FROM pictures WHERE [latitude, longitude, $spatial] LUCENE > NEAR[1,1,{"maxdistance": 10000000}]'. Probably you need to rebuild indexes. > Now executing query using cluster scan > java.lang.NullPointerException > at > com.orientechnologies.lucene.manager.OLuceneSpatialIndexManager.searchIntersect(OLuceneSpatialIndexManager.java:145) > at > com.orientechnologies.lucene.manager.OLuceneSpatialIndexManager.get(OLuceneSpatialIndexManager.java:134) > at > com.orientechnologies.lucene.OLuceneIndexEngine.get(OLuceneIndexEngine.java:118) > at > com.orientechnologies.lucene.index.OLuceneIndexNotUnique.get(OLuceneIndexNotUnique.java:108) > at > com.orientechnologies.lucene.index.OLuceneIndexNotUnique.get(OLuceneIndexNotUnique.java:36) > at > com.orientechnologies.orient.core.index.OIndexAbstractDelegate.get(OIndexAbstractDelegate.java:59) > at > com.orientechnologies.orient.core.index.OIndexTxAwareMultiValue.get(OIndexTxAwareMultiValue.java:272) > at > com.orientechnologies.orient.core.index.OIndexTxAwareMultiValue.get(OIndexTxAwareMultiValue.java:40) > at > com.orientechnologies.lucene.operator.OLuceneTextOperator.executeIndexQuery(OLuceneTextOperator.java:51) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchForIndexes(OCommandExecutorSQLSelect.java:1844) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInClasses(OCommandExecutorSQLSelect.java:835) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.assignTarget(OCommandExecutorSQLResultsetAbstract.java:194) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.assignTarget(OCommandExecutorSQLSelect.java:462) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:444) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:415) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:89) > at > com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1205) > at > com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1186) > at > com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63) > at > com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostCommand.execute(OServerCommandPostCommand.java:81) > at > com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:175) > at > com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:612) > at > com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:71) > > > -- > > --- > 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.
