laravel-scout-elasticsearch
TNTSearch
Our great sponsors
laravel-scout-elasticsearch | TNTSearch | |
---|---|---|
1 | 4 | |
682 | 3,036 | |
- | 0.8% | |
7.2 | 6.8 | |
about 1 month ago | 2 months ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-scout-elasticsearch
-
Can I store user passwords in a different table than the Users table? using Laravel auth?
Unless you think there's some other benefit than simplify searching both posts and users, there are much, much better solutions. There are packages built on Laravel Scout like this one for Algolia or this one for ElasticSearch that provide excellent aggregators for searching.
TNTSearch
-
Full text search
FWIW an alternative might be to have your endpoint perform the full text search server-side with something like https://github.com/teamtnt/tntsearch. No external search service required.
- What do you use for e-commerce search?
-
Searching for users with Laravel Scout and TNTSearch
While we're at it, would it be possible to store the index in the existing database instead of SQLite ? Wouldn't that allow for index syncing reliability (I hear there are file corruption problems ) ? And reducing the number of processes (no index queue) ?
As you saw from the tutorial, adding a full-text search to your project is pretty straightforward. We covered only the tip of the iceberg here. TNTSearch is a powerful engine that can do a lot of stuff - even classification if that's something you might need. For more info, you can check out the GitHub documentation.
What are some alternatives?
elastic-scout-driver-plus - Extension for Elastic Scout Driver
ElasticSearch PHP - Official PHP client for Elasticsearch.
Elasticsearch Eloquent - ⚡️ Models like Eloquent for Elasticsearch.
Sphinx Search - Sphinx Search library provides SphinxQL indexing and searching features
Elastica - Elastica is a PHP client for elasticsearch
meilisearch-laravel-scout - MeiliSearch integration for Laravel Scout
flexsearch - Next-Generation full text search library for Browser and Node.js
laravel-scout-tntsearch-driver - Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
SphinxQL query builder - SphinxQL Query Builder generates SphinxQL, a SQL dialect, which is used to query the Sphinx search engine. (Composer Package)
laravel-scout-mysql-driver - Laravel Scout MySQL Driver
wp-serverless-search - A static search plugin for WordPress.