Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- autoIndex.query(
- QueryContext.numericRange(
- 'longitude',
- 16.598145,
- 46.377254
- )
- );
- autoIndex.get(...)
- autoIndex.query('id', new QueryContext("*").sort(sort))
- ValueContext latValue = new ValueContext(node.getProperty('latitude')).indexNumeric();
- ValueContext lonValue = new ValueContext(node.getProperty('longitude')).indexNumeric();
- locationsIndex.add(node, 'latitude', latValue);
- locationsIndex.add(node, 'longitude', lonValue);
Add Comment
Please, Sign In to add comment