Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get query_filter working on input CSV/XML/JSON (split) documents #134

Open
josvanroosmalen opened this issue Mar 12, 2020 · 0 comments
Open
Assignees
Milestone

Comments

@josvanroosmalen
Copy link

It would be useful to get query_filter working on import documents such as XML or CSV splits.

This can be realized by executing reverse queries prior to ingest for filtering out the results.

Example:

const query_filter = '{"jsonPropertyValueQuery": {"property": ["activeCustomer"], "value": ["Y"], "options": ["lang=en"]}}'
const csv_json_doc = xdmp.toJSON({'activeCustomer':"Y"});
cts.contains(
  xdmp.toJSON(xdmp.unquote(query_filter)).root,
  cts.reverseQuery(csv_json_doc)
);
@yunzvanessa yunzvanessa self-assigned this Apr 1, 2020
@yunzvanessa yunzvanessa added this to the 10.0.5 milestone Apr 1, 2020
@yunzvanessa yunzvanessa modified the milestones: 10.0.5, 10.0.6 Sep 12, 2020
@yunzvanessa yunzvanessa modified the milestones: 10.0.6, 10.0.7 Jan 28, 2021
@yunzvanessa yunzvanessa modified the milestones: 10.0.7, 10.0.8 May 22, 2021
@yunzvanessa yunzvanessa modified the milestones: 10.0.8, 10.0.9 Sep 27, 2021
@yunzvanessa yunzvanessa assigned abika5 and unassigned yunzvanessa Sep 27, 2021
@abika5 abika5 modified the milestones: 10.0.9, 10.0-10 Jan 28, 2022
@yunzvanessa yunzvanessa modified the milestones: 11.0.0, 11.1.0 May 15, 2023
@abika5 abika5 modified the milestones: 11.1.0, 11.2.0 Jan 3, 2024
@abika5 abika5 modified the milestones: 11.3.0, 11.4.0 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants