Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Sphinx Search Beginner's Guide

You're reading from  Sphinx Search Beginner's Guide

Product type Book
Published in Mar 2011
Publisher
ISBN-13 9781849512541
Pages 244 pages
Edition 1st Edition
Languages
Author (1):
Abbas Ali Abbas Ali
Profile icon Abbas Ali

Table of Contents (15) Chapters

Sphinx Search
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Setting Up Sphinx Getting Started Indexing Searching Feed Search Property Search Sphinx Configuration What Next?

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}