<s>
Sphinx	B-Application
is	O
a	O
fulltext	B-Application
search	I-Application
engine	O
that	O
provides	O
text	O
search	B-Application
functionality	O
to	O
client	O
applications	O
.	O
</s>
<s>
Sphinx	B-Application
can	O
be	O
used	O
either	O
as	O
a	O
stand-alone	O
server	O
or	O
as	O
a	O
storage	B-General_Concept
engine	I-General_Concept
(	O
"	O
SphinxSE	O
"	O
)	O
for	O
the	O
MySQL	B-Application
family	O
of	O
databases	B-Application
.	O
</s>
<s>
When	O
run	O
as	O
a	O
standalone	O
server	O
Sphinx	B-Application
operates	O
similar	O
to	O
a	O
DBMS	B-General_Concept
and	O
can	O
communicate	O
with	O
MySQL	B-Application
,	O
MariaDB	B-Application
and	O
PostgreSQL	B-Application
through	O
their	O
native	O
protocols	O
or	O
with	O
any	O
ODBC-compliant	O
DBMS	B-General_Concept
via	O
ODBC	B-Application
.	O
</s>
<s>
MariaDB	B-Application
,	O
a	O
fork	O
of	O
MySQL	B-Application
,	O
is	O
distributed	O
with	O
SphinxSE	O
.	O
</s>
<s>
If	O
Sphinx	B-Application
is	O
run	O
as	O
a	O
stand-alone	O
server	O
,	O
it	O
is	O
possible	O
to	O
use	O
SphinxAPI	O
to	O
connect	O
an	O
application	O
to	O
it	O
.	O
</s>
<s>
Official	O
implementations	O
of	O
the	O
API	B-General_Concept
are	O
available	O
for	O
PHP	B-Application
,	O
Java	B-Language
,	O
Perl	B-Language
,	O
Ruby	B-Language
and	O
Python	B-Language
languages	I-Language
.	O
</s>
<s>
Other	O
data	O
sources	O
can	O
be	O
indexed	O
via	O
pipe	O
in	O
a	O
custom	O
XML	B-Protocol
format	O
.	O
</s>
<s>
The	O
Sphinx	B-Application
search	B-Application
daemon	O
supports	O
the	O
MySQL	B-Application
binary	O
network	O
protocol	O
and	O
can	O
be	O
accessed	O
with	O
the	O
regular	O
MySQL	B-Application
API	B-General_Concept
and/or	O
clients	O
.	O
</s>
<s>
Sphinx	B-Application
supports	O
a	O
subset	O
of	O
SQL	B-Language
known	O
as	O
SphinxQL	O
.	O
</s>
<s>
It	O
supports	O
standard	O
querying	O
of	O
all	O
index	B-Application
types	O
with	O
SELECT	O
,	O
modifying	O
RealTime	O
indexes	O
with	O
INSERT	O
,	O
REPLACE	O
,	O
and	O
DELETE	O
,	O
and	O
more	O
.	O
</s>
<s>
Sphinx	B-Application
can	O
also	O
provide	O
a	O
special	O
storage	B-General_Concept
engine	I-General_Concept
for	O
MariaDB	B-Application
and	O
MySQL	B-Application
databases	B-Application
.	O
</s>
<s>
This	O
allows	O
those	O
MySQL	B-Application
,	O
MariaDB	B-Application
to	O
communicate	O
with	O
Sphinx	B-Application
's	O
searchd	O
to	O
run	O
queries	O
and	O
obtain	O
results	O
.	O
</s>
<s>
Sphinx	B-Application
indices	O
are	O
treated	O
like	O
regular	O
SQL	B-Language
tables	O
.	O
</s>
<s>
The	O
SphinxSE	O
storage	B-General_Concept
engine	I-General_Concept
is	O
shipped	O
with	O
MariaDB	B-Application
.	O
</s>
<s>
Sphinx	B-Application
is	O
configured	O
to	O
examine	O
a	O
data	O
set	O
via	O
its	O
Indexer	O
.	O
</s>
<s>
The	O
Indexer	O
process	O
creates	O
a	O
full-text	B-Application
index	I-Application
(	O
a	O
special	O
data	B-General_Concept
structure	I-General_Concept
that	O
enables	O
quick	O
keyword	O
searches	O
)	O
from	O
the	O
given	O
data/text	O
.	O
</s>
<s>
Full-text	B-Application
fields	O
are	O
the	O
resulting	O
content	O
that	O
is	O
indexed	O
by	O
Sphinx	B-Application
;	O
they	O
can	O
be	O
(	O
quickly	O
)	O
searched	O
for	O
keywords	O
.	O
</s>
<s>
search	B-Application
through	O
"	O
title	O
"	O
only	O
)	O
or	O
a	O
subset	O
of	O
fields	O
(	O
e.g.	O
</s>
<s>
Sphinx	B-Application
's	O
index	B-Application
format	O
generally	O
supports	O
up	O
to	O
256	O
fields	O
.	O
</s>
<s>
Note	O
that	O
the	O
original	O
data	O
is	O
not	O
stored	O
in	O
the	O
Sphinx	B-Application
index	B-Application
,	O
but	O
are	O
discarded	O
during	O
the	O
Indexing	O
process	O
;	O
Sphinx	B-Application
assumes	O
that	O
you	O
store	O
those	O
contents	O
elsewhere	O
.	O
</s>
<s>
Attributes	O
are	O
additional	O
values	O
associated	O
with	O
each	O
document	O
that	O
can	O
be	O
used	O
to	O
perform	O
additional	O
filtering	O
and	O
sorting	O
during	O
search	B-Application
.	O
</s>
<s>
Attributes	O
are	O
not	O
full-text	B-Application
indexed	O
;	O
they	O
are	O
stored	O
in	O
the	O
index	B-Application
as	O
is	O
.	O
</s>
<s>
unsigned	B-Algorithm
integers	I-Algorithm
(	O
1-bit	O
to	O
32-bit	O
wide	O
)	O
;	O
</s>
<s>
UNIX	B-Application
timestamps	O
;	O
</s>
<s>
string	O
ordinals	B-Language
(	O
specially	O
computed	O
integers	O
)	O
;	O
</s>
<s>
MVA	O
,	O
multi-value	O
attributes	O
(	O
variable-length	O
lists	O
of	O
32-bit	O
unsigned	B-Algorithm
integers	I-Algorithm
)	O
.	O
</s>
<s>
Sphinx	B-Application
,	O
like	O
classic	O
SQL	B-Language
databases	I-Language
,	O
works	O
with	O
a	O
so-called	O
fixed	O
schema	B-Application
,	O
that	O
is	O
,	O
a	O
set	O
of	O
predefined	O
attribute	O
columns	O
.	O
</s>
<s>
The	O
JSON	B-General_Concept
field	O
can	O
be	O
used	O
to	O
overcome	O
this	O
.	O
</s>
<s>
Inside	O
the	O
JSON	B-General_Concept
attribute	O
you	O
do	O
n't	O
need	O
a	O
fixed	O
structure	O
.	O
</s>
<s>
When	O
you	O
try	O
to	O
filter	O
on	O
one	O
of	O
these	O
keys	O
,	O
Sphinx	B-Application
will	O
ignore	O
documents	O
that	O
do	O
n't	O
have	O
the	O
key	O
in	O
the	O
JSON	B-General_Concept
attribute	O
and	O
will	O
work	O
only	O
with	O
those	O
documents	O
that	O
have	O
it	O
.	O
</s>
<s>
Up	O
until	O
version	O
3	O
,	O
Sphinx	B-Application
is	O
dual	B-License
licensed	I-License
;	O
either	O
:	O
</s>
<s>
proprietary	B-Application
licensing	I-Application
is	O
available	O
for	O
use-cases	O
which	O
are	O
not	O
within	O
the	O
terms	O
of	O
the	O
GNU	O
GPLv2	O
.	O
</s>
<s>
Batch	B-General_Concept
and	O
incremental	O
(	O
soft	O
real-time	O
)	O
full-text	B-Application
indexing	O
.	O
</s>
<s>
Support	O
for	O
non-text	O
attributes	O
(	O
scalars	O
,	O
strings	O
,	O
sets	O
,	O
JSON	B-General_Concept
)	O
.	O
</s>
<s>
Direct	O
indexing	O
of	O
SQL	B-Language
databases	I-Language
.	O
</s>
<s>
Native	O
support	O
for	O
MySQL	B-Application
,	O
MariaDB	B-Application
,	O
PostgreSQL	B-Application
,	O
MSSQL	B-Application
,	O
plus	O
ODBC	B-Application
connectivity	O
.	O
</s>
<s>
XML	B-Protocol
document	I-Protocol
indexing	O
support	O
.	O
</s>
<s>
Integration	O
via	O
access	O
APIs	B-General_Concept
.	O
</s>
<s>
Full-text	B-Application
searching	I-Application
syntax	O
.	O
</s>
<s>
Text	O
processing	O
support	O
for	O
SBCS	B-General_Concept
and	O
UTF-8	O
encodings	O
,	O
stopwords	O
,	O
indexing	O
of	O
words	O
known	O
not	O
to	O
appear	O
in	O
the	O
database	O
(	O
"	O
hitless	O
"	O
)	O
,	O
stemming	B-General_Concept
,	O
word	O
forms	O
,	O
tokenizing	O
exceptions	O
,	O
and	O
"	O
blended	O
characters	O
"	O
(	O
dual-indexing	O
as	O
both	O
a	O
real	O
character	O
and	O
a	O
word	O
separator	O
)	O
.	O
</s>
<s>
Supports	O
UDF	B-Language
(	O
since	O
2.0.1	O
)	O
.	O
</s>
<s>
The	O
biggest	O
known	O
installation	O
using	O
Sphinx	B-Application
,	O
Boardreader.com,	O
indexes	O
16	O
billion	O
documents	O
.	O
</s>
