Free open-source SQL full-text search engine


Table of Contents

1. Introduction
1.1. About
1.2. Sphinx features
1.3. Where to get Sphinx
1.4. License
1.5. Credits
1.6. History
2. Installation
2.1. Supported systems
2.2. Compiling Sphinx from source
2.3. Installing Sphinx packages on Debian and Ubuntu
2.4. Installing Sphinx packages on RedHat and CentOS
2.5. Installing Sphinx on Windows
2.6. Sphinx deprecations and changes in default configuration
2.7. Quick Sphinx usage tour
3. Indexing
3.1. Data sources
3.2. Full-text fields
3.3. Attributes
3.4. MVA (multi-valued attributes)
3.5. Indexes
3.6. Restrictions on the source data
3.7. Charsets, case folding, translation tables, and replacement rules
3.8. SQL data sources (MySQL, PostgreSQL)
3.9. xmlpipe2 data source
3.10. tsvpipe (Tab Separated Values) data source
3.11. Live index updates
3.12. Delta index updates
3.13. Index merging
4. Real-time indexes
4.1. RT indexes overview
4.2. Known caveats with RT indexes
4.3. RT index internals
4.4. Binary logging
5. Searching
5.1. Matching modes
5.2. Boolean query syntax
5.3. Extended query syntax
5.4. Search results ranking
5.5. Expressions, functions, and operators
5.6. Sorting modes
5.7. Grouping (clustering) search results
5.8. Distributed searching
5.9. searchd query log formats
5.10. MySQL protocol support and SphinxQL
5.11. Multi-queries
5.12. Collations
5.13. Query cache
6. Extending Sphinx
6.1. Sphinx UDFs (User Defined Functions)
6.2. Sphinx plugins
6.3. Ranker plugins
7. Command line tools reference
7.1. indexer command reference
7.2. searchd command reference
7.3. spelldump command reference
7.4. indextool command reference
7.5. wordbreaker command reference
8. SphinxQL reference
8.1. SELECT syntax
8.2. SELECT @@system_variable syntax
8.3. SHOW META syntax
8.4. SHOW WARNINGS syntax
8.5. SHOW STATUS syntax
8.6. INSERT and REPLACE syntax
8.7. REPLACE syntax
8.8. DELETE syntax
8.9. SET syntax
8.10. SET TRANSACTION syntax
8.11. BEGIN, COMMIT, and ROLLBACK syntax
8.12. BEGIN syntax
8.13. ROLLBACK syntax
8.14. CALL SNIPPETS syntax
8.15. CALL KEYWORDS syntax
8.16. SHOW TABLES syntax
8.17. DESCRIBE syntax
8.18. CREATE FUNCTION syntax
8.19. DROP FUNCTION syntax
8.20. SHOW VARIABLES syntax
8.21. SHOW COLLATION syntax
8.22. SHOW CHARACTER SET syntax
8.23. UPDATE syntax
8.24. ALTER syntax
8.25. ATTACH INDEX syntax
8.26. FLUSH RTINDEX syntax
8.27. FLUSH RAMCHUNK syntax
8.28. FLUSH ATTRIBUTES syntax
8.29. TRUNCATE RTINDEX syntax
8.30. SHOW AGENT STATUS
8.31. SHOW PROFILE syntax
8.32. SHOW INDEX STATUS syntax
8.33. SHOW INDEX SETTINGS syntax
8.34. OPTIMIZE INDEX syntax
8.35. SHOW PLAN syntax
8.36. SHOW DATABASES syntax
8.37. CREATE PLUGIN syntax
8.38. DROP PLUGIN syntax
8.39. SHOW PLUGINS syntax
8.40. RELOAD PLUGINS syntax
8.41. SHOW THREADS syntax
8.42. RELOAD INDEX syntax
8.43. Multi-statement queries
8.44. Comment syntax
8.45. List of SphinxQL reserved keywords
8.46. SphinxQL upgrade notes, version 2.0.1-beta
9. API reference
9.1. General API functions
9.2. General query settings
9.3. Full-text search query settings
9.4. Result set filtering settings
9.5. GROUP BY settings
9.6. Querying
9.7. Additional functionality
9.8. Persistent connections
10. MySQL storage engine (SphinxSE)
10.1. SphinxSE overview
10.2. Installing SphinxSE
10.3. Using SphinxSE
10.4. Building snippets (excerpts) via MySQL
11. Reporting bugs
12. sphinx.conf options reference
12.1. Data source configuration options
12.2. Index configuration options
12.3. indexer program configuration options
12.4. searchd program configuration options
12.5. Common section configuration options
A. Sphinx revision history
A.1. Version 2.3.1-beta, 03 mar 2015
A.2. Version 2.2.9-release, 16 apr 2015
A.3. Version 2.2.8-release, 09 mar 2015
A.4. Version 2.2.7-release, 20 jan 2015
A.5. Version 2.2.6-release, 13 nov 2014
A.6. Version 2.2.5-release, 06 oct 2014
A.7. Version 2.2.4-release, 11 sep 2014
A.8. Version 2.2.3-beta, 13 may 2014
A.9. Version 2.2.2-beta, 11 feb 2014
A.10. Version 2.2.1-beta, 13 nov 2013
A.11. Version 2.1.9-release, 03 jul 2014
A.12. Version 2.1.8-release, 28 apr 2014
A.13. Version 2.1.7-release, 30 mar 2014
A.14. Version 2.1.6-release, 24 feb 2014
A.15. Version 2.1.5-release, 22 jan 2014
A.16. Version 2.1.4-release, 18 dec 2013
A.17. Version 2.1.3-release, 12 nov 2013
A.18. Version 2.1.2-release, 10 oct 2013
A.19. Version 2.1.1-beta, 20 feb 2013
A.20. Version 2.0.11-dev, xx xxx xxxx
A.21. Version 2.0.10-release, 22 jan 2014
A.22. Version 2.0.9-release, 26 aug 2013
A.23. Version 2.0.8-release, 26 apr 2013
A.24. Version 2.0.7-release, 26 mar 2013
A.25. Version 2.0.6-release, 22 oct 2012
A.26. Version 2.0.5-release, 28 jul 2012
A.27. Version 2.0.4-release, 02 mar 2012
A.28. Version 2.0.3-release, 23 dec 2011
A.29. Version 2.0.2-beta, 15 nov 2011
A.30. Version 2.0.1-beta, 22 apr 2011
A.31. Version 1.10-beta, 19 jul 2010
A.32. Version 0.9.9-release, 02 dec 2009
A.33. Version 0.9.9-rc2, 08 apr 2009
A.34. Version 0.9.9-rc1, 17 nov 2008
A.35. Version 0.9.8.1, 30 oct 2008
A.36. Version 0.9.8, 14 jul 2008
A.37. Version 0.9.7, 02 apr 2007
A.38. Version 0.9.7-rc2, 15 dec 2006
A.39. Version 0.9.7-rc1, 26 oct 2006
A.40. Version 0.9.6, 24 jul 2006
A.41. Version 0.9.6-rc1, 26 jun 2006

List of Tables

5.1.