Giter Site home page Giter Site logo

ansible-sphinxsearch's Introduction

Sphinxsearch

Build Status

This role installs and configures the Sphinx search engine.

Requirements

None

Role Variables

# sphinxsearch PPA (https://launchpad.net/~builds)
sphinx_ppa: 'ppa:builds/sphinxsearch-rel22'

# searchd settings
sphinx_searchd:
  listen: ['0.0.0.0:9312', '9306:mysql41']
  log: '/var/log/sphinxsearch/searchd.log'
  query_log: '/var/log/sphinxsearch/query.log'
  read_timeout: 5
  max_children: 30
  pid_file: '/var/run/sphinxsearch/searchd.pid'
  max_matches: 1000
  seamless_rotate: 1
  preopen_indexes: 1
  unlink_old: 1
  workers: 'threads'
  binlog_path: '/var/lib/sphinxsearch/data'

sphinx_indexer:
  mem_limit: '32M'

# Disable create source config
disable_sources: False

# sources settings
sphinx_sources:
  - 'source test_source':
    - 'type = xmlpipe2'
    - 'xmlpipe_command = cat /tmp/test.xml'

# indexes settings
sphinx_indexes:
  - index test_index:
    - 'source = test_source'
    - 'path = /var/lib/sphinxsearch/data/test_index'
    - 'charset_type = utf-8'

Dependencies

None

Example Playbook

- hosts: all
  become: yes

  roles:
     - role: ansible-sphinxseacrh

Author Information

Разработано и протестировано для Ubuntu 14.04 (trusty)

ansible-sphinxsearch's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.