# scrapy_elasticsearch_django打造全文搜索引擎 **Repository Path**: projectsets/ArticleSpider_LcvSearch ## Basic Information - **Project Name**: scrapy_elasticsearch_django打造全文搜索引擎 - **Description**: scrapy_elasticsearch_django打造全文搜索引擎 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 9 - **Created**: 2020-12-11 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Scrapy + Elasticsearch + Django打造全文搜索引擎 #### 1. 安装依赖环境 ```py pip install -r requirements.txt ``` #### 2.安装elasticsearch-rtf,elasticsearch-head和kibana - 参考文章 https://www.cnblogs.com/zhangyafei/p/11028927.html #### 3. 启动elasticsearch-rtf,elasticsearch-head ```pyth http://127.0.0.1:9100 http://127.0.0.1:9200 http://127.0.0.1:5601 ``` #### 4. 启动爬虫项目 ```pyt cd ArticleSpider python main.py ``` #### 5. 启动LcvSearch ```pyth cd LcvSearch python manage.py runserver ``` #### 界面 - 首页 ![首页](LcvSearch/首页.png) - 搜索结果页 ![首页](LcvSearch/搜索结果页.png)