Posts marked with “search”

Programming Elasticsearch with PHP

by · July 14, 2021

0
 

In this article, we introduce the usage of Elasticsearch in PHP. Elasticsearch lets you add advanced searching features that you can’t easily do with a traditional database. We present the official PHP client showing some basic features like indexing, bulk (indexing multiple documents), and search. We also show some more advanced client usage, like logging, transfer statistics, and async requests. Last but not least, we present some […]

 

Find the Way With Elasticsearch

by · July 2, 2019

0
 

How are you going to find that? You don’t want to implement a search engine on your own as your content grows or integrate with real-world places and addresses. Instead, leverage the rich feature set of an established solution like ElasticSearch. This month we look at how to integrate it with your PHP application and use it to provide location-based search results.

 

Add Location Based Searching to Your PHP App With Elasticsearch

by ·

0
 

Searching based on a user’s location is a feature of many websites and applications. This type of search adds relevancy and value to a website, especially when these results include the distance from a point or within a polygon, and are combined with fast text searches. In this article, we’ll take an in-depth look at […]

 

Elasticsearch—There and Back Again

by ·

0
 

As developers, we tend to praise the technologies with which we are most familiar. The more in-depth experience we have with a given technology, the stronger the urge to bend that technology’s capabilities to our will. As a seasoned MySQL developer, I recently found myself in this position. Unable to stretch MySQL to the extent […]

 

Artisanal: Full-Text Searching with Scout

by · February 1, 2018

0
 

Laravel Scout is a package that makes adding full-text searching of your Eloquent models simple. We’re going to cover installing and configuring Laravel Scout and utilizing a community supported MySQL driver to test drive Scout.

 

October 2015 Issue: Integrating Extensions

by · October 1, 2015

0
 

The October 2015 issue of php[architect] magazine is now available. This month we look at useful PHP extensions. This issue shows you how to use Solr search directly from PHP and put it to good use, explains how PHAR files work to bundle PHP applications in a single file, and provides a case study in […]

 

Full-text Search with SQLite

by · November 12, 2011

9
 

Full-text search with SQLite is so ridiculously easy to implement, there are only two valid reasons you haven’t done it yet. The first is you don’t need the full-text capability, and the second is you didn’t know it could be done. Here are the steps in full: Ensure full-text search is enabled (see below) Create […]