SphinxFacetingExample

  • Owner: adriannuta/SphinxFacetingExample
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

SphinxFacetingExample

These samples illustrate faceting using Manticore/Sphinx search.
Querying is made via SphinxQL using PDO driver.

Requirements :

LAMP
Manticore or Sphinx search ( recommended 2.1.1 or higher)
PHP with PDO mysql

Please note that the code is made for 2.1.1. The code use LIKE operator on SHOW META.
For older versions, use only SHOW META, fetch all rows and lookup for the row that has the 'total_found'.

Installation :

Edit scripts/sphinx.conf for setting proper paths and db credentials
The example use a single RealTime index which can be generated using filldb.php script.
Start searchd first with

$ searchd -c /path/to/sphinx.conf    

Generate the RT index

$ php filldb.php

Live demo with Sphinx:

http://demos.sphinxsearch.com/SphinxFacetingExample/
License:

Sphinx Samples is free software, and is released under the terms of the GPL version 2 or (at your option) any later version.

Manticore website : https://manticoresearch.com/
Manticore repository : https://github.com/manticoresoftware/manticore
Sphinx website : http://sphinxsearch.com/
Sphinx read-only repository : https://github.com/sphinxsearch/sphinx

Main metrics

Overview
Name With Owneradriannuta/SphinxFacetingExample
Primary LanguagePHP
Program languagePHP (Language Count: 2)
Platform
License:
所有者活动
Created At2013-06-10 10:14:52
Pushed At2017-10-26 05:40:58
Last Commit At2017-10-26 08:40:58
Release Count0
用户参与
Stargazers Count56
Watchers Count14
Fork Count18
Commits Count13
Has Issues Enabled
Issues Count9
Issue Open Count2
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private