GithubHelp home page GithubHelp logo

mcdennem / tnt-search-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bolt/tnt-search-engine

0.0 0.0 0.0 24 KB

A search engine for Bolt using TNTSearch

License: MIT License

PHP 99.13% Twig 0.87%

tnt-search-engine's Introduction

TNT Search Engine extension

Author: Ivo Valchev

A search engine for Bolt using TNTSearch

What does it do?

More intuitive, fuzzy search.

For example, a page has the following title: Oranges and apples are healty

By default, the following searches will show up the page as a result:

Keyword Bolt naive search With this extension
Oranges
oranges
orangse
oranges and apples
apples and oranges
appels and orangse
healthy apples
healthy fruit

Installation

composer require bolt/tnt-search-engine

Generate the index

For the search to work, TNTSearch requires an index of all relevant data that will be used for the search. The extension provides several ways to (re-)generate the index:

Console command

php bin/console tnt-search:generate

Controller-activated

You can (re-)generate the index by making a request to /bolt/tnt-search/generate.

Configuration

You can alter the how the search works in config/extensions/bolt-tntsearch.yaml.

Running PHPStan and Easy Codings Standard

First, make sure dependencies are installed:

COMPOSER_MEMORY_LIMIT=-1 composer update

And then run ECS:

vendor/bin/ecs check src

tnt-search-engine's People

Contributors

bobdenotter avatar i-valchev avatar nestordedios avatar

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.