- Python Web Scraping Cookbook
- Michael Heydt
- 144字
- 2021-06-30 18:44:09
How it works
Elasticsearch is both a NoSQL database and a search engine. You give documents to Elasticsearch and it parses the data in the documents and creates search indexes for that data automatically.
During the insertion process, we used the elasticsearch libraries' .index() method and specified an index, named "planets", a document type, planets_info, and the finally the body of the document, which is our planet Python object. The elasticsearch library that object to JSON and sends it off to Elasticsearch for storage and indexing.
The index parameter is used to inform Elasticsearch how to create an index, which it will use for indexing and which we can use to specify a set of documents to search for when we query. When we performed the query, we specified the same index "planets" and executed a query to match all of the documents.
- 廣電5G從入門到精通
- EDA技術與VHDL編程
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- 物聯網與無線傳感器網絡
- Socket.IO Real-time Web Application Development
- Mastering TypeScript 3
- IPv6網絡切片:使能千行百業新體驗
- WordPress Web Application Development
- Bonita Open Solution 5.x Essentials
- Master Apache JMeter:From Load Testing to DevOps
- TCP/IP基礎(第2版)
- Guide to NoSQL with Azure Cosmos DB
- 物聯網與智慧農業
- NB-IoT原理和優化
- Hands-On Microservices:Monitoring and Testing