Maksim Timonin created IGNITE-15391: ---------------------------------------
Summary: IndexQuery should be created with a list of fields only Key: IGNITE-15391 URL: https://issues.apache.org/jira/browse/IGNITE-15391 Project: Ignite Issue Type: New Feature Reporter: Maksim Timonin Assignee: Maksim Timonin I believe that it's a useful feature. My main argument is still the same: 1. Ignite provides to users the possibility to create an index without name setting. Then Ignite should provide the possibility to query them. 2. Naming of index isn't transparent, and hidden in internal packages. For example QuerySqlField provides opportunity to create an index, and set name to field (but not for index). 3. There is an example of using such API in other databases: as Ivan mentioned, MongoDB doesn't require to specify an index name [1], it searches it by fields only. Note, MongoDB doesn't require strict fields order for querying indexes, but requires it for sorting [2]. I don't see reasons not to provide a similar API for our users. Agree, that order of fields is under discussion. -- This message was sent by Atlassian Jira (v8.3.4#803005)