tntsearch | A fully featured full text search engine written in PHP | Search Engine library

 by   teamtnt PHP Version: v3.1.0 License: MIT

kandi X-RAY | tntsearch Summary

kandi X-RAY | tntsearch Summary

tntsearch is a PHP library typically used in Database, Search Engine applications. tntsearch has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

TNTSearch is a full-text search (FTS) engine written entirely in PHP. A simple configuration allows you to add an amazing search experience in just minutes. Features include:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tntsearch has a medium active ecosystem.
              It has 2950 star(s) with 272 fork(s). There are 98 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 65 open issues and 144 have been closed. On average issues are closed in 126 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tntsearch is v3.1.0

            kandi-Quality Quality

              tntsearch has 0 bugs and 0 code smells.

            kandi-Security Security

              tntsearch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tntsearch code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tntsearch is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tntsearch releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              tntsearch saves you 2079 person hours of effort in developing the same functionality from scratch.
              It has 5285 lines of code, 366 functions and 70 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tntsearch and discovered the below as its top functions. This is intended to give you an instant insight into tntsearch implemented functionality, and help decide if they suit your requirements.
            • Step 1
            • Compare two strings
            • Search for a boolean expression .
            • Read documents from file system
            • Build a query to find a location .
            • Rough stem .
            • Create a new database connection .
            • Extract relevant text .
            • Deletes a suffix
            • F fuzzy match .
            Get all kandi verified functions for this library.

            tntsearch Key Features

            No Key Features are available at this moment for tntsearch.

            tntsearch Examples and Code Snippets

            No Code Snippets are available at this moment for tntsearch.

            Community Discussions

            QUESTION

            Use spatie/laravel-query-builder with teamtnt/laravel-scout-tntsearch-driver
            Asked 2021-Mar-30 at 16:51

            I try to use laravel tntsearch together with spatie query builder. Based on Spatie Query Builder documentation I try to build my query as it follows

            ...

            ANSWER

            Answered 2021-Mar-30 at 16:51

            I did exactly what you are trying to do with the TNTSearch driver and I came to the difficult conclusion that Scout simply does not support the wide range of query handling that the default QueryBuilder object does. This is by design. If you read the Scout documentation, it makes it clear that you have to perform the search before you apply all the filter/sort queries you normally would. So, think of it this way: Search > filter and sort the results of the search.

            That being said, it is possible to achieve what you're wanting. It just requires 2 queries instead of one. Maybe some day Scout will get better support for this.

            Here's how I did it:

            Set a variable to hold your search result ids

            Source https://stackoverflow.com/questions/65629180

            QUESTION

            Best way to improve (fuzzy) search results for similarities?
            Asked 2020-Sep-05 at 08:26

            This question may like a duplicate question but I’m giving it back because I couldn’t perfect a solution.

            Sorry for that. Now I'm working on a drug search engine. The user cannot always enter the exact drug name. Depending on the characters entered by the user, I need to get a better result for them. But now it is not. How should I do to do result more accurately? For example, there is information in DB: Анальгин, Цитрамон-П, Лирика-75мг, etc. ... (in Crylic). If the user enters in the Latin alphabet, the system converts it to the Cyrillic alphabet and searches through it. So, I need that: Even if the user enters words in Цитрамон, cитрамон, ииттрамон or cтрамон, the result should return Цитрамон. Or if user enter: Лирика, ЛЛЛирика, иииррика, Лика or Лирик, the result should return Лирика. Or Аналгин, Анагин ... should returns Анальгин. I should get similar results. I tried several search algorithms and packages (Laravel-Searchy, Laravel Scout, TNTSearch and etc) but to no avail. Now a search is working but the results are returning the same as in a SQL LIKE operator. Also, I tried with Levenstein distance as follow as: My search variable:

            ...

            ANSWER

            Answered 2020-Sep-04 at 17:26

            This will be very hard to solve in the way you are trying. You need a full text search engine like Sphinx or elastic search. That has support for languages and fuzzy search. More info about it here: https://en.wikipedia.org/wiki/Full-text_search

            I recommend Sphinx: http://sphinxsearch.com/docs/sphinx3.html#features-overview

            The documentation is however very heavy. Another option is elasticsearch that has very good documentation.

            Try to invent this your self will be very tricky and you will take time to get good result.

            Source https://stackoverflow.com/questions/63745376

            QUESTION

            Unable to search with laravel-scout-tntsearch-driver
            Asked 2020-Mar-09 at 19:46

            I just installed this package (laravel-scout-tntsearch-driver) and when using the search() method, I am getting the following error: PDOException with message 'SQLSTATE[HY000] [2002] Connection refused'

            Running the command docker exec -it desk_php php artisan scout:import App\\Models\\TicketMessage result in:

            ...

            ANSWER

            Answered 2020-Mar-09 at 19:46

            From your comment I understand you have yet to configure Laravel to use SQLite by changing the default database setup.

            In your config/database.php,

            Source https://stackoverflow.com/questions/60606599

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tntsearch

            The easiest way to install TNTSearch is via composer:.

            Support

            TNTSearch
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link