Skip to content

Secondary indexes for json attributes don't work with in() expressions #2381

@glookka

Description

@glookka

Bug Description:

Secondary indexes are not used when running the following queries with json attributes:

select id, any(x='val0' for x in j.arr) a from t where a>0; show meta;
select id, in(j.arr, 'val0') a from t where a>0; show meta;
select id, in(j['arr'], 'val0') a from t where a>0; show meta;

This needs to be fixed.

Manticore Search Version:

6.3.1

Operating System Version:

Any

Have you tried the latest development version?

Yes

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

Details
  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions