Skip to content

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

Description

@JhansiBonthu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions