neo4j cannot use spatial.withinDistance but afaik right libraries in plugins folder (mac os x) -




i have restarted server after dropping following jars in plugin folders (both of app , database)

neo4j-spatial-0.24-neo4j-3.1.1-server-plugin.jar  neo4j-spatial-0.24-neo4j-3.1.1.jar 

i error, when trying make call withindistance

there no procedure name `spatial.withindistance` registered database instance. please ensure you've spelled procedure name correctly , procedure deployed. 

the version of neo4j have 3.2.2, same version on windows works fine same jar in plugin folder of database.

(though other code running spark , neo4j not work on windows on mac, computers passing fad. smh)

call dbms.procedures() results:

╒═══════════════════════════════╤══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╤══════════════════════════════════════════════════════════════════════════════════════════╕ │"name"                         │"signature"                                                                                                           │"description"                                                                             │ ╞═══════════════════════════════╪══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╪══════════════════════════════════════════════════════════════════════════════════════════╡ │"db.awaitindex"                │"db.awaitindex(index :: string?, timeoutseconds = 300 :: integer?) :: void"                                           │"wait index come online (for example: call db.awaitindex(\":person(name)\"))."  │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.constraints"               │"db.constraints() :: (description :: string?)"                                                                        │"list constraints in database."                                                   │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.createlabel"               │"db.createlabel(newlabel :: string?) :: void"                                                                         │"create label"                                                                          │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.createproperty"            │"db.createproperty(newproperty :: string?) :: void"                                                                   │"create property"                                                                       │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.createrelationshiptype"    │"db.createrelationshiptype(newrelationshiptype :: string?) :: void"                                                   │"create relationshiptype"                                                               │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.indexes"                   │"db.indexes() :: (description :: string?, state :: string?, type :: string?)"                                         │"list indexes in database."                                                       │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.labels"                    │"db.labels() :: (label :: string?)"                                                                                   │"list labels in database."                                                        │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.propertykeys"              │"db.propertykeys() :: (propertykey :: string?)"                                                                       │"list property keys in database."                                                 │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.relationshiptypes"         │"db.relationshiptypes() :: (relationshiptype :: string?)"                                                             │"list relationship types in database."                                            │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.resampleindex"             │"db.resampleindex(index :: string?) :: void"                                                                          │"schedule resampling of index (for example: call db.resampleindex(\":person(name)\"))."│ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.resampleoutdatedindexes"   │"db.resampleoutdatedindexes() :: void"                                                                                │"schedule resampling of outdated indexes."                                            │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"db.schema"                    │"db.schema() :: (nodes :: list? of node?, relationships :: list? of relationship?)"                                   │"show schema of data."                                                            │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.changepassword"          │"dbms.changepassword(password :: string?) :: void"                                                                    │"change current user's password. deprecated dbms.security.changepassword."         │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.components"              │"dbms.components() :: (name :: string?, versions :: list? of string?, edition :: string?)"                            │"list dbms components , versions."                                                │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.functions"               │"dbms.functions() :: (name :: string?, signature :: string?, description :: string?)"                                 │"list user functions in dbms."                                                    │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.listconfig"              │"dbms.listconfig(searchstring =  :: string?) :: (name :: string?, description :: string?, value :: string?)"          │"list active config of neo4j."                                              │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.procedures"              │"dbms.procedures() :: (name :: string?, signature :: string?, description :: string?)"                                │"list procedures in dbms."                                                        │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.queryjmx"                │"dbms.queryjmx(query :: string?) :: (name :: string?, description :: string?, attributes :: map?)"                    │"query jmx management data domain , name. instance, \"org.neo4j:*\""             │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.security.changepassword" │"dbms.security.changepassword(password :: string?) :: void"                                                           │"change current user's password."                                                     │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.security.createuser"     │"dbms.security.createuser(username :: string?, password :: string?, requirepasswordchange = true :: boolean?) :: void"│"create new user."                                                                      │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.security.deleteuser"     │"dbms.security.deleteuser(username :: string?) :: void"                                                               │"delete specified user."                                                              │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.security.listusers"      │"dbms.security.listusers() :: (username :: string?, flags :: list? of string?)"                                       │"list local users."                                                                   │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.security.showcurrentuser"│"dbms.security.showcurrentuser() :: (username :: string?, flags :: list? of string?)"                                 │"show current user. deprecated dbms.showcurrentuser."                              │ ├───────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │"dbms.showcurrentuser"         │"dbms.showcurrentuser() :: (username :: string?, flags :: list? of string?)"                                          │"show current user."                                                                  │ └───────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────┘ 

i think neo4j-spatial-0.24-neo4j-3.1.1-server-plugin.jar should enough put there, no need put other file.
after server restart, can see registered procedures call:

call dbms.procedures() 




wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -