regular index test template indexer { mem_limit = 16M } searchd { } source test { type = mysql sql_query = select * from test_table sql_attr_uint = gid } index test { source = test path = /test } CREATE TABLE test_table ( id INTEGER PRIMARY KEY NOT NULL, gid INTEGER NOT NULL, title VARCHAR(255) NOT NULL ); DROP TABLE IF EXISTS test_table; INSERT INTO test_table VALUES ( 1, 123, 'hello world' ); hello RT: test template indexer { mem_limit = 16M } searchd { workers = threads } index test { type = rt path = data/test rt_attr_uint = gid rt_field = title } insert into test ( id, gid, title ) values ( 1, 123, 'hello world' ) select * from test