marklogic-community / data-explorer

Data Explorer Tool
Other
15 stars 4 forks source link

Unable to search JSON #192

Open haritrichy opened 5 years ago

haritrichy commented 5 years ago

ODH final database only has JSON documents. I'm able to edit the config and setup the query for JSON structure. However, when I use the query in search, it says "no documents found". If I insert xml then it shows up.

Does this data explorer app support JSONs? If not, is there a plan to support it? Alternatively, is there any other solution that can be exposed to power business users or technical people (such as QA team) who aren't from ML background but wanted to search inside ODH?

markschiffner commented 5 years ago

Are you using release 0.12 or are you downloading repo and installing? There are a couple of bug fixes for JSON that will be wrapped into next release. Just needs to be packaged up and released. The intent of DataExplorer is exactly what you are intending. I will try to get update out shortly and let you know.

haritrichy commented 5 years ago

I deployed .10 by downloading it from repo.. where can I find .12 release?

markschiffner commented 5 years ago

My apologies, ml- unit-test is .12, data explorers is .10

On Jun 14, 2019, at 4:48 PM, haritrichy notifications@github.com wrote:

I deployed .10 by downloading it from repo.. where can I find .12 release?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

haritrichy commented 5 years ago

Ok thanks. Would help if you could release the bug fixes soon.

markschiffner commented 4 years ago

@josvanroosmalen -
I created a gradle task to load the farmers data as json, I can load the same data both xml and json. Steps to recreate: 1) load both data sets gradle loadDemoData; gradle loadDemoDataJSON 2) pick search on data explorer 3) Choose database "Data-Explorer-content 4) search "burke" in search text input 5) xml documents are returned, but no json