I have a lot of data loaded in my database where some of the documents loaded are not JSON files & just binary files. Correct data looks like this: "/foo/bar/1.json" but the incorrect data is in the format of "/foo/bar/*". Is there a mechanism in MarkLogic using JavaScript where I can filter out this junk data and delete them? PS: I'm unable to extract files with mlcp that have a "?" in the URI and maybe when I try to reload this data I get this error. Any way to fix that extract along with this?
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in JSON
- Handling both JSON and form values in POST request body with unknown values in Golang
- JSON Body is Not Passing Certain Strings
- Custom rewriter for json
- TypeScript: Type checking while parsing an arbitrary JSON that is typed/
- I dont understand what to do with: System.Text.Json.JsonException: 'The JSON value could not be converted to System.Collections.Generic.IEnumerable`1
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Dynamic Nested Multi-Dimensional Arrays in Rust
- Creating bar chart in FastAPI
- How to encode ttsJson data?
- Trying to get the id of the last element in my json file through an api
- How to give index id to my uploaded json file in FastAPI?
- JQ JSON - Values to Array
- Spring boot JSON parse error: Unexpected character error
- convert csv file with json data inside to a column, rows table in 2nd csv file
- Sigma.JS custom rendering
Related Questions in MARKLOGIC
- Is it possible to create a jsonPropertyScopeQuery in a JavaScript Query Generator Function?
- Automatic schema validation in MarkLogic
- Marklogic versioning
- Gradle throwing error "MANAGE-INVALIDPAYLOAD"
- Marklogic optic query is running very slowly in the Java client, but it is running fast in the query console
- Spelling suggestion query (MarkLogic)
- MarkLogic XDMP-INVZIP: Invalid zip file while trying to import the configuration zip file
- How to configure granular privileges in MarkLogic to permit updates to the configurations of a specific database only, while excluding all others?
- Fail to pass paramater from sjs to xquery in DHF 6.0.0
- Can marklogic preserve the original XML document content intention and line break?
- MarkLogic: Understanding Schemas, Triggers, and Modules (with Examples)
- MarkLogic - search.suggest does not return any values
- Field value query and filed range query, result not matching
- How to get list of user with specific roles in MarkLogic
- How to use mlcp export for RDF and specifically Turtle files?
Related Questions in MLCP
- How to use mlcp export for RDF and specifically Turtle files?
- Big JSON file to be splitted into multiple sub files and ingest via mlcp
- Exception while copy database using MLCP copy command
- mlcp export with document_selector
- Marklogic reference for developers need to check
- can we use xdmp:document-insert in mlcp transformation query?
- Strange MLCP issue: ERROR c.m.contentpump.LocalJobRunner - Unable to query destination information, no usable hostname found
- Can we replace the default document uri to a value from the document itself during mlcp ingestion in MarkLogic
- Can we change the XML structure of a file during file ingestion in MarkLogic using mlcp?
- Fail to import large files size use MLCP utilities to MarkLogic database
- MarkLogic mlcp import not working - Unable to connect to localhost to query destination information
- Unable to export single document in MarkLogic using MLCP
- getting not a usable net address error , in between a mlcp job run
- MLCP copy could only copy partial data from a 3 node cluster
- Mlcp command input_file_path problems with regex
Related Questions in MARKLOGIC-CORB
- corb2 compatibility check with MarkLogic
- MarkLogic CoRB Error - com.marklogic.developer.corb.ModuleExecutor main INFO: processing error - exiting with code 2
- Transform and Transfer 5 TB data from one marklogic server to another marklogic server
- Not able to get XML file via MarkLogic Corb Tool
- How to save a list of URIs matching a pattern in Marklogic with corb?
- Load the CSV file in to the content Database with collection using corb
- Using CORB with Marklogic 8
- CORB Batch process output Report Extraction issue
- How to increase heap size in Corb2 on MarkLogic
- How to pass external variables to a CORB module from within the ml-gradle execution?
- How to filter out non-json documents in MarkLogic?
- CORB: Undefined external variable fn:QName("","URI")
- How to change corb thread count on the fly
- Difference between CORB and MLCP MarkLogic
- Tried to run Corb in windows machine
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If all of the document URIs contain a
?and are in that directory, then you could usects.uriMatch()Alternatively, if you are looking to find the
binary()documents, you can apply theformat-binaryoption to acts.search()with acts.directoryQuery()and then delete them.They are probably being persisted as binary because there is no file extension when the URI ends with a question mark and some querystring parameter values i.e.
1.json?foo=barinstead of1.jsonIt is difficult to diagnose and troubleshoot without seeing what your MLCP job configs are and knowing more about what you are doing to load the data.