neo4jrb / neo4j-core

A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem
MIT License
99 stars 80 forks source link

Don't fail schema inspection when full text indexes exist #338

Open imustafin opened 4 years ago

imustafin commented 4 years ago

This pull introduces/changes:

This PR is needed to allow using neo4j-core when full text indexes exist, without this PR schema validation fails as they appear as INDEX ON NODE:Label(key) instead of INDEX ON :Label(key) in db.indexes (more of the discussion: https://gitter.im/neo4jrb/neo4j?at=5e1efa848b53f6190ab79919).

This PR doesn't add any additional support for such indexes.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-3.7%) to 86.97% when pulling aada1715d51a24c04a22c74c51c785240385caa1 on imustafin:master into 4b649fca33a1b1dba8705e6f999764ad9fb4d76e on neo4jrb:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-4.3%) to 86.327% when pulling 3839629ef7dae7b930efc8c9c544ad86c3c30391 on imustafin:master into 4b649fca33a1b1dba8705e6f999764ad9fb4d76e on neo4jrb:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-4.3%) to 86.327% when pulling 3839629ef7dae7b930efc8c9c544ad86c3c30391 on imustafin:master into 4b649fca33a1b1dba8705e6f999764ad9fb4d76e on neo4jrb:master.

imustafin commented 4 years ago

I need help with jruby builds on Travis. I don't know how to fix them.

amitsuryavanshi commented 4 years ago

@imustafin Can you make this PR against 10.0.x branch? That branch is going to be master soon. Thanks.

imustafin commented 4 years ago

@amitsuryavanshi I don't see the 10.0.x branch (https://github.com/neo4jrb/neo4j-core/branches/all). The newest branches I see are master and 9.0.x.

amitsuryavanshi commented 4 years ago

@imustafin Pardon me, its for neo4jrb. Can you check neo4jrb 10.0.x branch if it is using neo4j-core. I assume its going to be removed from dependency. https://github.com/neo4jrb/neo4j/pull/1575/files

imustafin commented 4 years ago

@amitsuryavanshi I see that neo4j-core is moving to neo4j. I will make another PR to neo4j branch 10.0.x. What will happen to this PR to neo4j-core?

amitsuryavanshi commented 4 years ago

@imustafin Let this be open. We yet to decide on what to do with neo4j-core.