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

[BUG] No options available to use cts.search options #324

Open
JhansiBonthu opened this issue Oct 16, 2020 · 1 comment
Open

[BUG] No options available to use cts.search options #324

JhansiBonthu opened this issue Oct 16, 2020 · 1 comment
Milestone

Comments

@JhansiBonthu
Copy link

As the current scenario, i need to use cts.search options like wildcarded,stemmed,cts.indexOrder etc.But i didnt see any option available over the pipes.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Advanced Query
  2. Click on Query,we are able to place the cts.query which is required to perform the search.Haven't seen any option to place the search options.
    Sample Query:
    cts.search(
    (cts.andQuery([cts.collectionQuery("testCollection1"),
    cts.jsonPropertyRangeQuery("testId1", "=",
    cts.values(cts.elementReference(xs.QName("testId2")), null, null,
    cts.andQuery([cts.collectionQuery("testCollection2"),
    cts.jsonPropertyValueQuery("testId3","testdata"),
    cts.jsonPropertyValueQuery("testId4", fn.string(var1))
    ])
    )
    )
    ])),
    [cts.indexOrder(cts.elementReference(xs.QName("Id")),"ascending")]

)

  1. Not only in advanced Query even in lookupQuery also there is no option available to add options.
    for example : we don't have any option if i want to add any options related to the cts.jsonpropertyValueQuery(e.g.,wildcarded)

Expected behavior
Looking for an option which we are able to add search options
and also for lookupQuery
Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@josvanroosmalen josvanroosmalen added this to the 2.1 milestone Oct 16, 2020
@josvanroosmalen
Copy link
Collaborator

Yep we can do this but I am now focussed on getting the Javscript code generator working. Version 2.0 should be out within 1 or 2 weeks, so then I can pick this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants