arcadeanalytics icon indicating copy to clipboard operation
arcadeanalytics copied to clipboard

Pie chart - Indexing data source

Open Crazynovatech opened this issue 4 years ago • 6 comments

I am trying to use the PieChart widget option. But data is not retrieved after selecting the entity name and got the warning to index the datasource. But getting the attached screenshot error while trying to index the datasource. Can you please clarify if I am missing something.

AracadeAnalytics launched : https://github.com/ArcadeData/arcadeanalytics-recipes Database and version used : Neo4j 3.5 Note: The graph widget works fine with retrieving data

index_datasource_error

Crazynovatech avatar Nov 08 '20 17:11 Crazynovatech

did you indexed the datasource? Charts need that the data source is indexed to work

arcade-player avatar Nov 11 '20 14:11 arcade-player

Got the below error when clicked on the button to Index Datasource in the Datasource tab image

Crazynovatech avatar Nov 11 '20 17:11 Crazynovatech

To provide additional information, please find the screenshot below when I clicked on Index Datasource. image

Crazynovatech avatar Nov 11 '20 17:11 Crazynovatech

Can you provide the logs? We have never seen such an error while indexing a data-source. A sample database with fake data would even be better

arcade-player avatar Nov 14 '20 09:11 arcade-player

Thank you for your response. The indexing worked without data in database. But not getting indexed after inserting data in database. Can you please let me know whether we need to have any setup at database side for indexing the data-source?

I am using the sample Movies data that comes with Neo4j. Sample as below.

CREATE (TheMatrix:Movie {title:'The Matrix', released:1999, tagline:'Welcome to the Real World'}) CREATE (Keanu:Person {name:'Keanu Reeves', born:1964}) CREATE (Carrie:Person {name:'Carrie-Anne Moss', born:1967}) CREATE (Laurence:Person {name:'Laurence Fishburne', born:1961}) CREATE (Hugo:Person {name:'Hugo Weaving', born:1960}) CREATE (LillyW:Person {name:'Lilly Wachowski', born:1967}) CREATE (LanaW:Person {name:'Lana Wachowski', born:1965}) CREATE (JoelS:Person {name:'Joel Silver', born:1952}) CREATE (Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrix), (Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrix), (Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrix), (Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrix), (LillyW)-[:DIRECTED]->(TheMatrix), (LanaW)-[:DIRECTED]->(TheMatrix), (JoelS)-[:PRODUCED]->(TheMatrix)

Crazynovatech avatar Nov 16 '20 14:11 Crazynovatech

ok, thank you for providing details. We will setup a test to verify the issue

arcade-player avatar Nov 17 '20 13:11 arcade-player