-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi Dario,
Is it possible to create a spatial index in a model definition?
module.exports = {
attributes: {
id: { type: 'string', primaryKey: true, columnName: '@rid'},
latitude: {type: 'float'},
longitude: {type: 'float'}
/*How to define spatial index*/
}
};
The spatial index on the orientdb-lucene example shows that you create a compound key
E.G
CREATE INDEX Place.l_lon ON Place(latitude,longitude) SPATIAL ENGINE LUCENE
I was wondering can this be done.
https://github.com/orientechnologies/orientdb-lucene/wiki/Spatial-Index
Metadata
Metadata
Assignees
Labels
No labels