marklogic-community / data-explorer

Data Explorer Tool
Other
15 stars 4 forks source link

46 - Change the query uri path to query #141

Closed nlaprell closed 6 years ago

cskeefer commented 6 years ago

So with this change, old queries stored at URI /adhoc/.../queryname.xml still work for searching but don't get exported. I'm assuming we're fine with that? I suppose we could always provide something to update the URIs of existing queries if we needed to.

cskeefer commented 6 years ago

I noticed when importing, the query was saved to URI: /Users/ckeefer/Documents/Projects/ferret/data-explorer/data/export/query/default_nsfarmersMarket/forms-queries/Test.xml. It didn't show up as an option in the Search tab or in the EditConfig tab. This may not be related to anything you've done.

nlaprell commented 6 years ago

@cskeefer - Yes, existing queries would have to be moved to follow the same convention. We could leave it as is, since it's Beta, or we could create a gradle task to migrate them.

I noticed the same thing on import while writing some test cases for our gradle tasks. I've opened this as issue #150

cskeefer commented 6 years ago

@nlaprell good deal, thx for opening the ticket.