Introduction to elasticsearch

Read this "Within 1 minute".

Elasticsearch

is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.

Structure

Relational DB-> Databases-> Tables->Rows -> Columns

Elasticsearch-> Indices  -> Types ->Documents -> Fields

Search Type

Structured search(term)
Full-text search(analysis)

Scoring

It uses Lucene’s Practical Scoring Function,combining the TF/IDF score with other factors such as the term proximity in phrase queries, or term similarity in fuzzy queries.

  • Boolean Model tf(t in d) = √frequency
  • Inverse document frequency idf(t) = 1 + log ( numDocs / (docFreq + 1))
  • Field-length norm norm(d) = 1 / √numTerms
  • Vector Space In the vector space model, each number in the vector is the weight of a term.
    1806231.png

The End!
Reference: https://www.elastic.co/


Author

Typing Theme

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora non aut eos voluptas debitis unde impedit aliquid ipsa.

 The comment for this post is disabled.