I am editing a graph in Neo4j Brower on one computer. If I want to start a new graph in Browser, how to make sure the current one won't be destroy? Also, if I want to copy the current graph to another computer, is there a way to do that?
Just edit the path in your configuration file. Take a look right here. You can also copy the files of all your graphs (for example the default.graphdb or graph.db directory) to replicate them or to move them to another directory.
Related
I'm trying to evaluate Neo4j-Community-3.2.2 and my IT department installed the product for me in an area where I have no permissions. All I have seem to have is a running Service and the client interface through the browser. I have an immediate problem with LOAD CSV, but I anticipate others.
My current problem is that LOAD CSV seems to limit me to the Import folder under the database, which is in a protected location. I cannot copy files to the Neo4j import directory. I need to point the location to a folder I own.
I read in a different post that this is a security measure. So .. IF there is no way to address another folder, is there a configuration option that would let me work around. I can engage my IT department to edit / replace a config file, I think.
It would be best to implement a configuration setting to point to an entirely different Neo4j root. Any advice?
dbms.directories.import
Sets the root directory for file URLs used with the Cypher LOAD CSV
clause. This must be set to a single directory, restricting access to
only those files within that directory and its subdirectories.
So just point the full path to the directory in the neo4j.conf where you can place the files:
dbms.directories.import = /path/to/csv/import/directory
Note that the user under which the neo4j is started must have permission to read files from this directory.
I'm only just getting started with Yeoman, trying to create a Generator that downloads WordPress, unzips it, and then proceeds to download my own WordPress starter theme.
The problem I'm having is that when I extract the latest.zip from wordpress.org (using this.extract()) it contains a wordpress/ directory resulting in my directory structure being my-project/wordpress/ rather than my-project/.
I've tried moving, copying and deleting the wordpress/ directory with various degrees of success; using this.fs.copy() I actually managed to get the files in the correct folder, but when trying to delete the original wordpress/ directory the user has to confirm deletion of every single file (not ideal). When I tried this.fs.move() I had to confirm each and every move instead.
I've found similar gulp/node.js questions on here, but I would prefer to use Yeoman's built in this.fs API.
Please note that I am aware of YEOPress but this is mostly for learnig purposes.
I ended up using the Node Package fs-extra instead as it deletes or moves without confirmation.
Facing issue regarding kettle over kettle transform step in pentaho CDE, i have created transformation file and it is working perfectly.
Properties of kettle over kettle transform step where i have option of select transformation file, so when i am browsing it i am able to see only 3 folders home,public, etc..
So where i have to keep my transformation file so that i can able to access it while selecting from select transformation file.
You can create a separate folder/directory (e.g.: Transformations) inside any of the already present directories (say: Admin). Next refresh your repository/cache and you will be able to see the files. Link it from your CDE.
Now ideally when building a project, i used to have a separate folder with my project initials say PROJECT. Inside this folder, i used to create the rest of the sub-folders. This helps in separating the project codes.
Hope this helps :)
Edit:
The files in user console cannot be accessed from your local system post pentaho version 5. The only way to upload or download file is either to load it from User console or execute commands from command line. Check the below link. The files are internally stored in jackrabbit repository of pentaho bi server.
http://infocenter.pentaho.com/help/index.jsp?topic=%2Fadmin_guide%2Ftask_import_export_repository.html
Extra note: If you still want to access the files, there is REST API to handle most of the pentaho bi server capabilites. You may check this link also: http://help.pentaho.com/Documentation/5.2/0R0/070/010/0A0/0Q0#
I have installed neo4j spatial in my Geoserver2.6 and now I am trying to see an example of a database.
I created in geoserver a workspace and then I want to add a new store. I select the neo4j store but then I don't know what to put in the field "Connection Parameters" (The directory path of the Neo4j database).
Till now I was using postgis, which you add the host name and the port.
What should I put in this field?
Any help will be mostly appreciated.
Thanks
D.
EDIT:
I found out that the directory path must have this form:
file:C:/Program Files/NEO4J_HOME/neo4j-community-1.9.9/data/graph.db/neostore.id
The path points to the neostore.id file inside the database.
The problem remains. Nothing happens when I select the save button in geoserver.
The original wiki that contained the answer to this was shut down a while back. But there is a copy at http://oss.infoscience.co.jp/neo4j/wiki.neo4j.org/content/Neo4j_Spatial_in_GeoServer.html. This is old information, but should still contain the answer you are looking for.
With the Neo4j 2.0.0 Community edition, is there a way to change the default database location?
Seems like every time I start the program it points back to the default location (in the user's documents directory).
I tried editing the neo4j-server.properties file and adding a line to specify the desired directory there, but this didn't seem to work:
org.neo4j.server.database.location=C:\MyGraphDatabaseDirectory
Changing the default location seems to be limitation of the community edition. What you can do is a "junction point" using the mklink command:
mklink /j C:\Users\<USER>\Documents\Neo4j\default.graphdb D:\Data\Neo4j\default.graphdb
That way you don't need to change the path of the database. The default path will point to the desired location.
When starting Neo4j 2.0 Community edition on Windows you will see a dialog UI with a data folder location that you can browse to. To change your data location, browse to a different folder and then click the start button.
Closest thing you can get to is to add a shortcut (to your app's neo4j database) in the default neo4j database folder (or in the parent folder),
I.E.:
In C:\Users\YOURUSER\Documents\Neo4j create a Windows Shortcut (browse to the folder in windows explorer, right click-> create shortcut), --> Create the shortcut to your app's neo4j db location.
Then when you open Neo4j's Window gui, you can go to browse -> click your shortcut and be directly into the folder you want.
It's far from a perfect solution, but it saves a lot of clicking!
In windows, you create a new folder and the you choose it when you want to start your server