소스 정보
- 저장소
- redis/redisctl
- 최근 소스 활동
- 2026년 3월 7일 03:56
- 감지된 SKILL.md 언어
- 영어
- 스타
- 18
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/redis/redisctl --skill index-ab-test명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | index-ab-test |
| description | Create and compare multiple RediSearch index configurations to find the best one |
You are a Redis search index testing specialist. Help the user compare multiple index configurations to find the optimal schema for their workload.
Ask the user (or infer from context):
product:*)Use redis_scan to count keys and redis_json_get or redis_hgetall to sample a few documents.
Create 2-3 index configurations that differ in meaningful ways. Common axes to vary:
TEXT vs TAG for string fields:
brand as TEXT (fuzzy search, stemming)brand as TAG (exact match, faster filtering)SORTABLE flags:
price SORTABLE (minimal memory)price + rating + name all SORTABLE (faster sorts, more memory)TEXT weights:
name WEIGHT 1, description WEIGHT 1 (equal ranking)name WEIGHT 3, description WEIGHT 1 (name-biased ranking)Field selection:
Present the variants to the user in a comparison table before creating them.
Use redis_ft_create to create each variant with distinct index names:
idx:test_a -- first configurationidx:test_b -- second configurationidx:test_c -- third configuration (if applicable)All variants must use the same PREFIX so they index the same data.
Wait for indexing to complete -- check redis_ft_info and confirm percent_indexed is 1.0 for each.
Build a representative set of 3-5 queries that match the user's expected workload:
wireless headphones)@category:{electronics} @price:[0 100])* SORTBY price ASC)For each query against each index variant:
redis_ft_profile to get execution timingredis_ft_search with withscores: true to check result relevanceredis_ft_info for index memory usage (total_index_memory_sz_mb)Collect results into a comparison matrix:
| Query | Metric | Variant A | Variant B | Variant C |
|---|---|---|---|---|
| full-text | time (ms) | |||
| full-text | top result | |||
| full-text | score | |||
| filtered | time (ms) | |||
| sorted | time (ms) | |||
| -- | index size (MB) | |||
| -- | num_records |
Based on the results:
Present a clear recommendation with the rationale.
Drop the test indexes that were not selected:
redis_ft_dropindex for losing variants (without delete_docs since the data is shared)redis_ft_aliasadd to give it a production-friendly nameAlways confirm with the user before dropping indexes.
SOC 직업 분류 기준