# full text search **Repository Path**: kkaaddff/full-text-search ## Basic Information - **Project Name**: full text search - **Description**: full-text-search demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-14 - **Last Updated**: 2022-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 全文检索 全文检索 nodejs 的简单实现 ## 安装 ```bash yarn install ``` ## 准备数据 因为是最简版本实现,采用了英文数据集,避免了中文分词问题 数据来自飞浆公开数据集 [维基百科电影情节数据](https://aistudio.baidu.com/aistudio/datasetdetail/106734) 1. 解压 archive.zip // 目前已经改成使用 csv-parse 库解析,不用在预备数据了 // 2. 运行 `npm run prepare:data` 将 csv 文件转换成一系列单个的 json 文件