All Projects → heywhy → ex_elasticlunr

heywhy / ex_elasticlunr

Licence: MIT License
Elasticlunr is a small, full-text search library for use in the Elixir environment. It indexes JSON documents and provides a friendly search interface to retrieve documents.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to ex elasticlunr

CodeIndex
A Code Index Searching Tools Based On Lucene.Net
Stars: ✭ 28 (-77.6%)
Mutual labels:  full-text-search, fulltext-search
bulksearch
Lightweight and read-write optimized full text search library.
Stars: ✭ 108 (-13.6%)
Mutual labels:  full-text-search, fulltext-search
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+6386.4%)
Mutual labels:  full-text-search, fulltext-search
djangoqueries
The code of "Making queries" in docs.djangoproject.com that I used in my article "Full-Text Search in Django with PostgreSQL".
Stars: ✭ 39 (-68.8%)
Mutual labels:  full-text-search
soda-for-java
SODA (Simple Oracle Document Access) for Java is an Oracle library for writing Java apps that work with JSON (and not only JSON!) in the Oracle Database. SODA allows your Java app to use the Oracle Database as a NoSQL document store.
Stars: ✭ 61 (-51.2%)
Mutual labels:  fulltext-search
clucie
Clojure for the Lucene
Stars: ✭ 55 (-56%)
Mutual labels:  fulltext-search
cang-jie
Chinese tokenizer for tantivy, based on jieba-rs
Stars: ✭ 48 (-61.6%)
Mutual labels:  full-text-search
understand-full-text-search
📖 Support examples for learning full-text search with use of PostgreSQL. Ready to run.
Stars: ✭ 98 (-21.6%)
Mutual labels:  full-text-search
buke
full text search manpages
Stars: ✭ 27 (-78.4%)
Mutual labels:  full-text-search
pg-search-sequelize
Postgres full-text search in Node.js and Sequelize.
Stars: ✭ 31 (-75.2%)
Mutual labels:  full-text-search
gatsby-plugin-lunr
Gatsby plugin for full text search implementation based on lunr client-side index. Supports multilanguage search.
Stars: ✭ 69 (-44.8%)
Mutual labels:  full-text-search
mxusearch
🔍 基于讯搜封装的 Laravel 全文检索服务。
Stars: ✭ 40 (-68%)
Mutual labels:  full-text-search
lunr-module
Full-text search with pre-build indexes for Nuxt.js using lunr.js
Stars: ✭ 45 (-64%)
Mutual labels:  full-text-search
paperless-ng
A supercharged version of paperless: scan, index and archive all your physical documents
Stars: ✭ 4,840 (+3772%)
Mutual labels:  full-text-search
silverstripe-searchable
Adds to default SilverStripe search with configurable FullTextSearch, custom results controller and allowing adding custom data objects and custom fields for searching via config
Stars: ✭ 13 (-89.6%)
Mutual labels:  fulltext-search
dotnetlive.search
Asp.Net Core + ElasticSearch
Stars: ✭ 18 (-85.6%)
Mutual labels:  fulltext-search
Fissoft.EntityFramework.Fts
Full Text Search for Microsoft SQL Server with Entity Framework
Stars: ✭ 55 (-56%)
Mutual labels:  fulltext-search
fts
🔍 Postgres full-text search (fts)
Stars: ✭ 28 (-77.6%)
Mutual labels:  full-text-search
wink-bm25-text-search
Fast Full Text Search based on BM25
Stars: ✭ 44 (-64.8%)
Mutual labels:  full-text-search
search-for-kirby
Kirby 3 plugin for adding a search index (sqlite or Algolia).
Stars: ✭ 42 (-66.4%)
Mutual labels:  full-text-search

Elasticlunr

Dialyzer Test Codecov

Elasticlunr is a small, full-text search library for use in the Elixir environment. It indexes JSON documents and provides a friendly search interface to retrieve documents.

Why

The library is built for web applications that do not require the deployment complexities of popular search engines while taking advantage of the Beam capabilities.

Imagine how much is gained when the search functionality of your application resides in the same environment (Beam VM) as your business logic; search resolves faster, the number of services (Elasticsearch, Solr, and so on) to monitor reduces.

Installation

The library can be installed by adding elasticlunr to your list of dependencies in mix.exs:

def deps do
  [
    {:elasticlunr, "~> 0.6"}
  ]
end

Documentation can be found at hexdocs.pm. See blog post Introduction to Elasticlunr and Livebook for examples.

Features

  1. Query-Time Boosting, you don't need to set up boosting weight in the index building procedure, Query-Time Boosting makes it more flexible so you could try different boosting schemes
  2. More Rational Scoring Mechanism, Elasticlunr uses a similar scoring mechanism as Elasticsearch, and also this scoring mechanism is used by Lucene
  3. Field-Search, you can choose which field to index and which field to search
  4. Boolean Model, you can set which field to search and the boolean model for each query token, such as "OR" and "AND"
  5. Combined Boolean Model, TF/IDF Model, and the Vector Space Model make the results ranking more reliable.

Token Expansion

Sometimes users want to expand a query token to increase RECALL. For example, user query token is "micro", and assume "microwave" and "microscope" are in the index, if the user chooses to expand the query token "micro" to increase RECALL, both "microwave" and "microscope" will be returned and search in the index. The query results from expanded tokens are penalized because they are not the same as the query token.

Livebook

The repository includes a livebook file that you can run. You can click the button below to run it using livebook.dev!

Run in Livebook

Storage

Elasticlunr allows you to write your indexes to whatever storage provider you want. You don't need to acess the Elasticlunr.Storage module directly, it is used by the Elasticlunr.IndexManager. See available providers below:

To configure what provider to use:

config :elasticlunr,
  storage: Elasticlunr.Storage.S3

Note that all indexes in storage are preloaded on application startup. To see the available provider configuration, you should reference it module.

License

Elasticlunr is released under the MIT License - see the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].