Sphinx::ConfigSphinx search engine configuration file read/modify/write | |
Download |
Sphinx::Config Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jon Schutz
- Publisher web site:
- http://search.cpan.org/~jjschutz/
Sphinx::Config Tags
Sphinx::Config Description
Sphinx search engine configuration file read/modify/write Sphinx::Config is a Sphinx search engine configuration file read/modify/write.SYNOPSIS use Sphinx::Config; my $c = Sphinx::Config->new(); $c->parse($filename); $path = $c->get('index', 'test1', 'path'); $c->set('index', 'test1', 'path', $path); $c->save($filename); ...CONSTRUCTORnewc = Sphinx::Config->new;preserve_inheritancec->preserve_inheritance(0);c->preserve_inheritance(1);pi = $c->preserve_inheritance(1);Set/get the current behaviour for preserving inherited values. When set to a non-zero value (the default), if a value is set in a parent section, then it is automatically inherited by any child sections, and when the configuration file is saved, values that are implicit through inheritance are not shown. When set to zero, each section is considered standalone and a complete set of values is shown in the saved file.This flag may be enabled and disabled selectively for calls to set() and save(). Requirements: · Perl
Sphinx::Config Related Software