tlantic @ elasticsearch poa meetup
TRANSCRIPT
http:// aboutTheRetailers .com:9200/
{ok: true,
status: 200,
name: "RetailersWorld",
facts: {
data_amount: "millions of records",
availability: "high",
search_scenario: “not sure how to find things",
common_approach: “fulltext",
does_fulltext_works: false
},
tagline: “Retail is about people…"
}
SELECT * FROM jobs JJOIN jobs_benefits jb ON j.id =
jb.job_idWHERE j.role = ‘DEVELOPER’
AND (MATCH(job_description) AGAINST (‘javascript -asp’) IN
BOOLEAN MODE)AND jb.free_coffee = TRUE
elasticsearch is a real search engine
• Efficient indexing of data• All fields / combination
• Analyzing data:• Text Search: tokenizing, stemming, filtering
• Understanding locations
• Date parsing
• Relevance scoring
• Not just split(‘ ‘, $text)
• Understand patterns: URLs, e-mail, currencies, hashtags, twitter @mentions.
• Analyze conjugations and plurals:• Fishing, Fished, Fish, Fisher > Fish• Better > Good
• Filters stop words: not every character is meaningful when indexing a HTML code or web contents.
• Distance searches: geo polygons, bounding box searches, searching nearby...
• Relevance: think of Google PageRank
• Mappings generated on the fly
With elasticsearch...
• We found performance: 1M records on 40s (bulk insert)
• The app users will be able to find a product regarding the nearest store.
• We can scale easily, handling BIG DATA scenarios with safety.
• We found a stable nosql search system and a powerful JSON API.
• Customers can find the information even when they don’t know how to write that properly... In miliseconds!
• We found the cloud: (bonsai.io)
• It fits like a glove on mobile solutions.
• We found integration with out existing systems...
http:// tlantic .com/thank_you
{
ok: true,
status: 200,
name: “Vinicius Linck",
e_mail:“[email protected]”,
e_mail_2: “[email protected]”,
twitter: “@vinnylinck",
}