kekewind / ls Goto Github PK
View Code? Open in Web Editor NEW闲暇时光,两天实现的搜索引擎,带爬虫,娱乐,浪
License: GNU General Public License v3.0
闲暇时光,两天实现的搜索引擎,带爬虫,娱乐,浪
License: GNU General Public License v3.0
# ls 就在前几天的晚上,突然想起了做一个我自己都不知道的东西,那么来吧。可能就是灵感来了,那就做一个自己想要的东西咯。"快搜"搜索引擎。 说搜索引擎有点太过于耍大牌,引擎不引擎,还不是钱说了算,我这顶多就是一个内网查询器。项目2天做完了,还差点东西,就是这个文档。 执行下面命令: python3 setup.py bdist_wheel 之后会生成下面3个命令: 1. kuaiso-web 快搜web服务接口,默认地址localhost:9999 2. kuaiso-db 用于初始化搜索引擎,kuaiso-db --commanlsd init_full_index 3. kuaiso-spider 用于启动爬虫任务,输入kuaiso-spider --help查看命令详细 项目启动,需要依赖,2个中间件: 1. ElasticSearch最新版本就行,如果有问题,可以联系我 2. RabbitMQ最新版本,现已发现如果unack数等于`channel.basic_qos(prefetch_count=10)`中的`prefetch_count`,那么 消费者会阻塞住 3. Redis用于爬虫url去重,需要设置密码,具体请看源码 接下来需要记录一下,es的配置,主要说配置,我是将elasticsearch.yml中的这个选项改为false再重启ElasticSearch就不用输入账号 密码,同时,也不需要走ssl通道,直接http就可以: xpack.security.enabled: false 然后再说下RabbitMQ的配置,我装的默认就应安装了web界面的插件,安装后的默认账号密码为:guest/guest
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.