Power of Elastic Search - nLocate
-
Upload
aayush-shrestha -
Category
Engineering
-
view
79 -
download
4
Transcript of Power of Elastic Search - nLocate
![Page 1: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/1.jpg)
nLocate.com
power ofElastic SearchAayush ShresthanLocate.com | Locate things nearby
![Page 2: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/2.jpg)
nLocate.com
n is for new● Rethinking the Local Search● Vendors . Products . Services .
Consumers● Aggregation of data . Structured
Content.● Open Platform (eventually)● Not a Google Maps/ Google Local
alternative
![Page 3: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/3.jpg)
nLocate.com
Our stackWeb Client(AngularJS)
Mobile Client
(HTML5)
Third Party Developers
API Server(nginx > gunicorn > Django)
Spots(ElasticSearch)
Analytics(ElasticSearch)
Business Portal(Django, PgSQL)
Admin Portal(Django, Scrapy)
● Proxy Server (nginx)● App. Server (gunicorn)● App. Framework (Django)● Parsing (PyParsing)● Client Framework
(AngularJS)● Front-end Framework (Ionic)● Messaging (ZeroMQ)● Web Crawler (Scrapy)● RDBMS (PgSQL)● Document Database
(ElasticSearch)● Visualization (HighCharts)
![Page 4: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/4.jpg)
nLocate.com
what is Elastic Search?An enterprise level search server
![Page 5: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/5.jpg)
nLocate.com
what is Elastic Search?uses Lucene under the hood
![Page 6: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/6.jpg)
nLocate.com
The Good things● Distributed FULLTEXT Search Engine● SCHEMALESS● RESTful API == ‘awesomeness’● Uses JSON not XML● Cross-platform (built on Java)● near RealTime Search
![Page 7: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/7.jpg)
nLocate.com
The Good things(one page was not enough)
● Query DSL● Distributed. Meant to be highly
available● Load Balancing● Free and Open Source
![Page 8: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/8.jpg)
nLocate.com
Elasticsearch in nLocate.com● Stores our spots and addon data
○ Scalable Data storage and retrieval○ ranking algorithm○ Customizable and vertical specific
structured data
![Page 9: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/9.jpg)
nLocate.com
Elasticsearch in nLocate.com● Logs EVERYTHING
○ Usage Monitoring○ KPI Monitoring○ Ad-hoc Data Integration
![Page 10: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/10.jpg)
nLocate.com
Elasticsearch in nLocate.com● Listing a.k.a. Ranking
○ Name (shingle, exact term, gram)○ Addon (exact term, gram)○ Headline○ Address and Description○ Distance (Linear Decay)
![Page 11: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/11.jpg)
nLocate.com
.. and beyond nLocate.com● Measure our KPIs
○ No of unique users and Total Searches
● Measuring our performance● Source of Traffic● User behavior
![Page 12: Power of Elastic Search - nLocate](https://reader031.fdocuments.net/reader031/viewer/2022020108/587852ac1a28ab68198b69a1/html5/thumbnails/12.jpg)
nLocate.com
ElasticSearch superpowers● ES Aggregation Queries● Output to Information (highcharts for
visualization)● Gave some steroids to ES Query DSL