Power of Elastic Search - nLocate
-
Upload
aayush-shrestha -
Category
Engineering
-
view
79 -
download
4
Transcript of Power of Elastic Search - nLocate
nLocate.com
power ofElastic SearchAayush ShresthanLocate.com | Locate things nearby
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
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)
nLocate.com
what is Elastic Search?An enterprise level search server
nLocate.com
what is Elastic Search?uses Lucene under the hood
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
nLocate.com
The Good things(one page was not enough)
● Query DSL● Distributed. Meant to be highly
available● Load Balancing● Free and Open Source
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
nLocate.com
Elasticsearch in nLocate.com● Logs EVERYTHING
○ Usage Monitoring○ KPI Monitoring○ Ad-hoc Data Integration
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)
nLocate.com
.. and beyond nLocate.com● Measure our KPIs
○ No of unique users and Total Searches
● Measuring our performance● Source of Traffic● User behavior
nLocate.com
ElasticSearch superpowers● ES Aggregation Queries● Output to Information (highcharts for
visualization)● Gave some steroids to ES Query DSL