Giter VIP home page Giter VIP logo

module-meili-search-for-prestashop's Introduction

Instant search module for Prestashop

This moduleworks with MeiliServer 0.85 only.

You problably need to get a root access to your server to install Meili.

No need any setup.

Why use MeiliServer

Because Meili works out-of-the-box, and it's easy to use.

During first test I used it, as promisse, results are blazzing fast.

And the accuracy of the search results is ultra relevant. Meili

What is MeiliSearch (GitHub Meili)

Instant full-text search API

MeiliSearch is a powerful, fast, open-source, easy to use, and deploy search engine. The search and indexation are fully customizable and handles features like typo-tolerance, filters, and synonyms. For more details about those features, go to our documentation.

How to install

Start Meili server just:

$ docker run -it --rm -p 7700:7700 -v $(pwd)/data.ms:/data.ms getmeili/meilisearch

If you don't know what is the command 'pwd' in $(pwd), please just check on Google.

To check if it's runing well or not, just:

$ docker container ps

Add a proxy on your nginx config, with theses lines:

location /instantsearch/ {
   proxy_pass http://127.0.0.1:7700/;
}

The proxy path (here 'instantsearch'), need to match with what you set in BO.

To check if it's runing well or not, in your browser, try :

http(s)://your.shop.com/instantsearch/indexes

For the path of the proxy uses in front end to request search result, please don't use 'search', because it's already used by Prestashop for the search page URL.

Install the module on Prestashop

  • Download the archive
  • Extract file
  • Repack only files in a new zip archive, and name it 'ao_meili_search.zip'
  • Install the module

That's all, it's ready to work!

To do

  • Remove no allow_oosp products
  • Manage product visibility
  • Add product triger/hook (save, etc..)
  • Add category triger/hook (save, etc..)
  • Multi shop
  • Multi lang
  • Add stat on BO
  • Add a second way to make to ajax call (proxy php)
  • save query searched, and save them in Prestashop DB -> save every vistited links from results box
  • Add a possibility to add some other fields
  • Add the Prestashop weight ponderation with ranking parameters

Change log

0.2.1
  • Make compatible with Meili 0.9
  • Be sure there is no way to update meili from front end
0.2.0
  • Add nginx proxy
  • Improve BO

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.