source datas { type = pgsql sql_host = 127.0.0.1 sql_user = root sql_pass = root sql_db = khanindexer sql_query = SELECT id, url, title, content FROM page sql_field_string = url sql_field_string = title sql_field_string = content } index datas { source = datas path = /tmp/data/datas } indexer { mem_limit = 32M } searchd { # Use this if you want to use python api listen = 9312 # Use this if you want to http api #listen = localhost:8080:http query_log = /tmp/query.log binlog_path = /tmp/ read_timeout = 5 client_timeout = 300 max_children = 30 persistent_connections_limit = 30 pid_file = /tmp/searchd.pid seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 mva_updates_pool = 1M max_packet_size = 8M max_filter_values = 4096 max_batch_queries = 32 workers = threads_pool }