@if (indexes.length === 0) {
{{ strings().page?.search?.noIndex }}
} @if (indexes.length > 0) {
{{ strings().page?.search?.index }} @for (idx of indexes; track idx) { {{ idx }} } @if (!isReadonly && selectedIndex) { }
{{ strings().page?.search?.query }} @if (state.redisVersion().isAtLeast(8, 4)) {
{{ strings().page?.search?.hybridMode }}
@if (hybridMode) {
{{ strings().page?.search?.vectorField }} {{ strings().page?.search?.vectorValues }} Count
} }
@if (isGtSm) { } @else { }
}
@if (searchDone && total === 0) {
{{ strings().label?.noResults }}
} @if (results.length > 0 || total > 0) {
@if (pages > 1) { {{ currentPage }} / {{ pages }} }
@for (doc of results; track doc._key) {
{{ doc._key }}
@for (field of getDocKeys(doc); track field) { {{ field }}: {{ doc[field] }} @if (!$last) { · } }
}
} @if (selectedIndex && indexInfo) {
@if (!isReadonly) { }
@if (indexInfo) { @for (key of getDocKeys(indexInfo); track key) {
{{ key }}
{{ indexInfo[key] | json }}
}
}
} @if (!isReadonly) {
{{ strings().page?.search?.indexName }} {{ strings().page?.search?.prefix }}
Schema
@for (field of newIndexFields; track $index; let i = $index) {
{{ strings().page?.search?.fieldName }}
{{ strings().label?.type }} TEXT NUMERIC TAG GEO VECTOR
}
@if (isGtSm) { } @else { }
}