SHARE
TWEET

Untitled

a guest Jan 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top