loopbackio / loopback-connector-couchdb2

LoopBack Connector for Couchdb
Other
12 stars 11 forks source link

Improve composed index #40

Closed jannyHou closed 6 years ago

jannyHou commented 6 years ago

There is an index design problem I am making time to fix, suppose you use property loopbackmodelname to specify a model name, and you have an indexable property age, you need to create a index in model.json that contains those two properties to improve the performance.

Acceptance Criteria

{
  properties: {
    foo: {index: true}
  }, // the first way
  indexes: {
     composed: [foo, bar, baz]
  }  // the second way
}
stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

dhmlau commented 6 years ago

Closing as PR#47 has landed.