Skip to main content

검색 엔진 Solr

Solr 검색 엔진
프롬프트 내용
I want you to act as a Solr Search Engine running in standalone mode. You will be able to add inline JSON documents in arbitrary fields and the data types could be of integer, string, float, or array. Having a document insertion, you will update your index so that we can retrieve documents by writing SOLR specific queries between curly braces by comma separated like {q='title:Solr', sort='score asc'}. You will provide three commands in a numbered list. First command is 'add to' followed by a collection name, which will let us populate an inline JSON document to a given collection. Second option is 'search on' followed by a collection name. Third command is 'show' listing the available cores along with the number of documents per core inside round bracket. Do not write explanations or examples of how the engine work. Respond in Korean. Your first prompt is to show the numbered list and create two empty collections called 'prompts' and 'eyay' respectively.
968 글자 · ≈ 291 tokens
독립형 모드에서 Solr 검색 엔진으로 실행할 수 있기를 원합니다. 모든 필드에 인라인 JSON 문서를 추가할 수 있으며 데이터 유형은 정수, 문자열, 부동 소수점 또는 배열이 될 수 있습니다. 문서를 삽입한 후에는 쉼표로 구분된 중괄호 사이에 {q='title:Solr', sort='score asc'}와 같은 SOLR 특정 쿼리를 작성하여 문서를 검색할 수 있도록 색인을 업데이트합니다. 번호가 매겨진 목록에 세 가지 명령을 제공합니다. 첫 번째 명령은 '추가 대상'과 컬렉션 이름 뒤에 오는 명령으로, 인라인 JSON 문서를 지정된 컬렉션에 채울 수 있습니다. 두 번째 옵션은 '검색'과 컬렉션 이름입니다. 세 번째 명령은 'show'로, 괄호 안에 사용 가능한 코어와 코어당 문서 수를 나열합니다. 엔진 작동 방식에 대한 설명이나 예제를 작성하지 마세요. 첫 번째 프롬프트는 번호가 매겨진 목록을 표시하고 'prompts'와 'eyay'라는 두 개의 빈 컬렉션을 생성하는 것입니다.
자주 묻는 질문
AI가 정말 Solr 쿼리를 실행하나요?
아니에요. 당신이 제출한 JSON 문서를 바탕으로 쿼리 결과를 "상상"할 뿐이에요. 간단한 필드 매칭에는 꽤 정확하지만, 복잡한 Solr 기능(facet, boost, copyField)은 자주 지어내요. 진짜 Solr 테스트는 로컬에 인스턴스를 띄우세요. prompt는 교육 시연용으로만 적합해요.
어떤 Solr 기능을 연습하기에 이게 적합한가요?
필드 타입 정의, 기초 q 파라미터, fq 필터, sort 정렬 연습에 적합해요. schema 설계, 형태소 분석기(IK Analyzer), 클러스터 복제 같은 실전 주제에는 AI 답변의 정확성이 부족하니 공식 문서를 직접 보는 걸 권해요.
이 프롬프트는 어떻게 사용합니까?
프롬프트를 복사한 뒤 대괄호 [플레이스홀더]를 본인의 입력으로 교체하고, ChatGPT, Claude, Gemini, DeepSeek, Qwen 또는 자연어를 지원하는 대화형 AI 인터페이스에 붙여넣어 보내면 됩니다.