Book Image

Sphinx Search Beginner's Guide

By : Abbas Ali
Book Image

Sphinx Search Beginner's Guide

By: Abbas Ali

Overview of this book

Table of Contents (15 chapters)
Sphinx Search
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

Indexer configuration


These set of options are used when running the indexer command to create indexes.

mem_limit

This option specifies the maximum RAM usage limit that the indexer will not exceed. The default value is 32M.

The memory limit can be specified either in bytes, kilo bytes, or mega bytes:

mem_limit = 33554432 # 32 MB

Here's an example (in kilo bytes):

mem_limit = 32768K

Here's an example (in mega bytes):

mem_limit = 32M

max_iops

This option specifies the maximum IO calls per second for I/O throttling. The default value is 0, which means unlimited:

max_iops = 50

max_iosize

This option specifies the maximum IO call size in bytes for I/O throttling. The default value is 0, which means unlimited:

max_iosize = 1048576

max_xmlpipe2_field

This option specifies the maximum length of an xmlpipe2 field. Default value is 2M:

max_xmlpipe2_field = 4M

With this we come to the end of configuration options. We left out some options intentionally and those can be referred to in the Sphinx manual (http...