sphinxsearchHow do I use the sphinxsearch sql_attr_float attribute?
The sql_attr_float
attribute is used within the SphinxSearch engine to define a field as a float data type. This attribute is used within the source
block of the SphinxSearch configuration file.
For example:
source example_source
{
...
sql_attr_float = price
...
}
In this example, the price
field is set as a float data type.
Code explanation
sql_attr_float
: This is the attribute used to define a field as a float data type.price
: This is the field that is being defined as a float data type.
Helpful links
More of Sphinxsearch
- How can I use Sphinx Search to generate word forms?
- How do I install SphinxSearch on Ubuntu 20.04?
- How do I use Sphinxsearch with Zsh?
- How do I configure SphinxSearch to ignore certain stop words?
- How do I install and configure Sphinxsearch on Ubuntu?
- How do I find the version of Sphinx Search I'm using?
- How do I run the Sphinxsearch indexer?
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I install Sphinxsearch on Ubuntu?
- How do I install Sphinxsearch 3 on Ubuntu?
See more codes...