Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Creating search indexes on multi database project #570

Open
aurlien opened this issue Jan 15, 2021 · 1 comment
Open

Creating search indexes on multi database project #570

aurlien opened this issue Jan 15, 2021 · 1 comment

Comments

@aurlien
Copy link

aurlien commented Jan 15, 2021

I'm trying to setup support for full text search on a multi database neo4j-graphql-js project. When calling the searchSchema method to setup indexes, they are created in the default neo4j database.

For this use case, I have to configure which database the query should be created on, but this does not seem to be possible?

Could the searchSchema method be extended with an optional argument to specify the database, so that the result would be const session = driver.session({database: myDatabase});?

@michaeldgraham
Copy link
Collaborator

#608

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants