question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support creation of indices on collections in the SQL API

See original GitHub issue

Please support managing indices in the new version of the SDK. Version 2 allowed setting the property Indexes on IncludedPath. Version 3 does not (the property is marked as internal).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bchong95commented, Sep 6, 2019

The concept of indices have been deprecated. Everything is going to be:

  • DataType = number + string (null, boolean)
  • Precision = -1
  • Type = Range

So in terms on querying you are going to have a superset of what you used to have. There have been improvements made to storage, so you won’t see a bloat.

You may still choose what paths are indexed by using included vs excluded.

1reaction
jorgensigvardssoncommented, Sep 6, 2019

How am I supposed to manage indices then? Please don’t say “via the portal”…

(The documentation is, shall we say “sparse”)

Read more comments on GitHub >

github_iconTop Results From Across the Web

CREATE INDEX (Transact-SQL) - SQL Server
You can create indexes on CLR user-defined type columns if the type supports binary ordering. You can also create indexes on computed columns ......
Read more >
db.collection.createIndex()
Wildcard indexes support workloads where users query against custom fields or a large variety of fields in a collection. You can create a...
Read more >
Create SQL Server indexes (Native Client OLE DB provider)
The SQL Server Native Client OLE DB provider creates table indexes as either indexes or constraints. SQL Server gives constraint-creation ...
Read more >
X DevAPI User Guide :: 4.4 Indexing Collections
Collection indexes are ordinary MySQL indexes on virtual columns that extract data from the documents in the collection. Because MySQL cannot index JSON ......
Read more >
Define and Build Indexes
Overview. An index is a structure maintained by a persistent class that InterSystems IRIS® data platform can use to optimize queries and other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found