Guest User

Untitled

a guest
Jan 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. autoIndex.query(
  2. QueryContext.numericRange(
  3. 'longitude',
  4. 16.598145,
  5. 46.377254
  6. )
  7. );
  8.  
  9. autoIndex.get(...)
  10.  
  11. autoIndex.query('id', new QueryContext("*").sort(sort))
  12.  
  13. ValueContext latValue = new ValueContext(node.getProperty('latitude')).indexNumeric();
  14. ValueContext lonValue = new ValueContext(node.getProperty('longitude')).indexNumeric();
  15.  
  16. locationsIndex.add(node, 'latitude', latValue);
  17. locationsIndex.add(node, 'longitude', lonValue);
Add Comment
Please, Sign In to add comment