analyzer
-
AnalyzerBackEnd/Elasticsearch API 2025. 3. 18. 05:00
Analyzer A component that processes text during indexing and querying. The analyzer breaks down text into a stream of tokens or terms (usually words) and can apply various transformations like lowercasing, removing stop words, and more. Analyzer 구성요소Tokenizer: 텍스트를 개별 단어나 토큰으로 나누는 역할을 합니다. (e.g., words)Character Filters: 텍스트를 토크나이저에 전달하기 전 문자 수준에서 변환하는 역할을 합니다. (e.g., removing HTML tags)Token F..
-
Mapping parametersBackEnd/Elasticsearch API 2025. 3. 14. 02:00
index 필드가 색인될지 여부를 결정합니다. 대부분의 필드 타입에서 기본적으로 활성화되어 있습니다. false일 경우 색인이 되지 않아 검색이 불가능합니다.{ "properties": { "session_data": { "type": "keyword", "index": false } }} analyzer 텍스트 필드에 사용할 분석기를 지정합니다.{ "properties": { "title": { "type": "text", "analyzer": "english" } }} format 날짜 필드에 사용되는 형식을 지정합니다.{ "properties": { "timestamp": { "type": "date", ..