You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cannot be indexed as these are not unique across each entry in the database. We have some queries that specifically require to get entries corresponding to one category. Like
query: get all conference of category "wireless"
For such query, the complexity will rise to O(n) for the database. We need a solution to this problem.
The text was updated successfully, but these errors were encountered:
The documents can be indexed on the array fields for now. especially is the search criteria is only one entry from the array. Which allows for faster results (fist entry is used for index based filtering) . Currently we can resort to some sort of in memory caching to reduce response times and DB calls.
The category field in the current schema is storing an array of values.
"categories" : [ "semantic web", "wireless", "web services", "internet" ],
This cannot be indexed as these are not unique across each entry in the database. We have some queries that specifically require to get entries corresponding to one category. Like
query: get all conference of category "wireless"
For such query, the complexity will rise to O(n) for the database. We need a solution to this problem.
The text was updated successfully, but these errors were encountered: