Loading...
 
Skip to main content

History: Manticore Search

Source of version: 21

Copy to clipboard
            !! {{page}}

Manticore Search is an Open Source database that was created in 2017 as a continuation of Sphinx Search engine (Started in 2001). It's a modern, fast, light-weight and full-featured database with outstanding full-text search capabilities. https://manticoresearch.com/
 You can check out benchmarks at: [https://db-benchmarks.com/?cache=fast_avg&engines=clickhouse%2Celasticsearch%2Cmanticoresearch_rowwise%2Cmysql%2Cmysql_percona&tests=hn_small&memory=110000&queries=0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27|https://db-benchmarks.com/]

It is a ((Unified Index Comparison|Unified Index)) option starting in ((Tiki25)) (experimental) and will be production ready in ((Tiki26)). [https://github.com/manticoresoftware/manticoresearch/discussions/categories/feedback
|Manticore Search is very appreciated by its community].

As of 2022-11-16, the results between the various engines are not identical in all cases. We will write a script to compare the results of MariaDB/MySQL vs Elasticsearch vs Manticore Search, and review all the discrepancies. Also, different engines have different features. If Manticore doesn't work for you, you can revert to your previous engine.
 
!! Installation
See instructions on how to install it server side:
https://manticoresearch.com/install/

For instance, in Debian/Ubuntu-based servers, you can install with these commands in a terminal window:
{CODE(colors="shell" ln="1")}
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
sudo dpkg -i manticore-repo.noarch.deb
sudo apt update
sudo apt install manticore manticore-extra
{CODE}

!! How to indicate to Tiki to use Manticore Search
Once Manticore is installed and running:
# Pick Manticore as __Unified search engine__ at tiki-admin.php?page=search
# Rebuild index
** Small sites, via GUI
** Medium and large sites, via CLI -+php console.php index:rebuild --log+-
# Enjoy!

Please see development information: ((dev:Manticore Search)) and https://wikisuite.org/Manticore-Search

It has many features including:
* ((Faceted search))
* ((Stored Search))

!! See also
* ((Manticore Buddy))

!! Dev notes from Victor
In short:
# Introducing a new setting in manticore search settings - you can enumerate the fields you want to be always indexed - e.g. important fields or fields that search too slowly with regex. Default here is title and contents - you will always want contents be in the full-text index for the whole site search.
# Keep the search setting of the tracker fields as it works until now - work in combination with the preference to exclude non-searchable fields from the index.
# When building the index, we try to fit all text fields as full-text but if this is more than 255, we prefer the preferenced ones and then start with the rest until we fill the limit. If we go over the limit, the rest are indexed as string columns and allow regex search.
# Changed multivalue attributes to MVA native manticore implementation to spare some fulltext fields.

So, most of the sites shouldn't notice this change. Bigger sites will probably need some configuration to allow faster lookups on big trackers - ensure the searched fields end up in the preference.

{DIV(class="d-none")}(alias(Manticore)){DIV}
        

History

Advanced
Information Version
Marc Laporte 33
Marc Laporte 32
Marc Laporte Thank you Victor 31
Marc Laporte 30
Marc Laporte 29
Xavi (as xavidp - admin) added link to internal wiki page with those instructions for ubuntu also 28
Jonny Bradley Change of tmp to tiki temp 27
Jonny Bradley add highlights on docker configs that need changing 26
Jonny Bradley 25
Marc Laporte Let's not duplicate upstream 24
Marc Laporte 23
Marc Laporte 22
Marc Laporte 21
Xavier de Pedro 20
Bernard Sfez / Tiki Specialist Added an alias to Manticore 19
Marc Laporte 18
Marc Laporte 17
Marc Laporte 16
Marc Laporte 15
Marc Laporte 14
Marc Laporte 13
Marc Laporte 12
Marc Laporte 11
Marc Laporte 10
Marc Laporte 9
Marc Laporte 8
Marc Laporte 7
Marc Laporte 6
Marc Laporte 5
Volker Wysk 4
Marc Laporte 3
Marc Laporte 2
Marc Laporte 1