2. Elasticsearch.com
• Créée en 2012 par les auteurs
d’Elasticsearch
• Formation (publique et intra)
• Consulting (support dév)
• Abonnement annuel support pour
la production avec 3 niveaux de
SLA
mercredi 3 juillet 13
17. Terms
apple
apple iphone
Phrases "apple iphone"
Proximity "apple safari"~5
Fuzzy apple~0.8
Wildcards
app*
*pp*
Boosting apple^10 safari
Range
[2011/05/01 TO 2011/05/31]
[java TO json]
Boolean
apple AND NOT iphone
+apple -iphone
(apple OR iphone) AND NOT review
Fields
title:iphone^15 OR body:iphone
published_on:[2011/05/01 TO "2011/05/27 10:00:00"]
http://lucene.apache.org/java/3_1_0/queryparsersyntax.html
$ curl -XGET "http://localhost:9200/_search?q=<YOUR QUERY>"
mercredi 3 juillet 13
23. “Find all articles with ‘search’ in their title or body, give
matches in titles higher score”
Full-text Search
“Find all articles from year 2013 tagged ‘search’”
Structured Search
See custom_score and custom_filters_score queries
Custom Scoring
“Find all articles with ‘search’ in their title or body, give
matches in titles higher score and filter articles from year 2013
tagged ‘search’ “
Combined Search
mercredi 3 juillet 13
26. Fetch document field ➝ Pick configured analyzer ➝ Parse
text into tokens ➝ Apply token filters ➝ Store into index
What is really a search engine?
mercredi 3 juillet 13
36. Slice Dice Drill Down / Roll Up
Show me sales numbers for all products across all locations in year 2013
Show me product A sales numbers across all locations over all years
Show me products sales numbers in location X over all years
mercredi 3 juillet 13
42. Above & Beyond
Bulk operations (For indexing and search operations)
Percolator (“reversed search” — alerts, classification, …)
Suggesters (“Did you mean …?”)
Index aliases (Grouping, filtering or “renaming” of indices)
Index templates (Automatic index configuration)
Monitoring API (Amount of memory used, number of operations, …)
…
mercredi 3 juillet 13
43. Above & Beyond
Bulk operations (For indexing and search operations)
Percolator (“reversed search” — alerts, classification, …)
Suggesters (“Did you mean …?”)
Index aliases (Grouping, filtering or “renaming” of indices)
Index templates (Automatic index configuration)
Monitoring API (Amount of memory used, number of operations, …)
…
GUI?
Give Kibana a try
http://three.kibana.org/
mercredi 3 juillet 13