Read an index
Reads one partition of an index through the index’s own read handler, as a live read from an app does. Without search it returns the partition’s rows. With search it returns the rows that match, each as {row, score}. An index changes through its sources alone, so there is no route that writes to one.
/_luna/tenants/{tenant}/indexes/{index}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
data:readtenantstringrequiredThe tenant, by its name.
indexstringrequiredThe index, by its name.
partitionstringrequiredThe value of the index's partition field.
searchstringText to search the partition for.
prefixbooleanWith search, true also matches words that start with the last word of the text.
limitinteger<int64>How many rows to return. 50 when left out, 1000 at most.
The rows, or the matches with their scores.
objectobjectThe request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.