Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
c355fed2
Commit
c355fed2
authored
Nov 18, 2013
by
Paul Klimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sphinx test delta index added
parent
01df011e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
sphinx.conf
tests/unit/data/sphinx/sphinx.conf
+18
-1
No files found.
tests/unit/data/sphinx/sphinx.conf
View file @
c355fed2
...
@@ -44,7 +44,8 @@ source yii2_test_item_src
...
@@ -44,7 +44,8 @@ source yii2_test_item_src
sql_query
= \
sql_query
= \
SELECT
*,
CURRENT_TIMESTAMP
()
AS
add_date
\
SELECT
*,
CURRENT_TIMESTAMP
()
AS
add_date
\
FROM
yii2_test_item
FROM
yii2_test_item
\
WHERE
id
<=
100
sql_attr_uint
=
id
sql_attr_uint
=
id
sql_attr_uint
=
category_id
sql_attr_uint
=
category_id
...
@@ -55,6 +56,15 @@ source yii2_test_item_src
...
@@ -55,6 +56,15 @@ source yii2_test_item_src
}
}
source
yii2_test_item_delta_src
:
yii2_test_item_src
{
sql_query
= \
SELECT
*,
CURRENT_TIMESTAMP
()
AS
add_date
\
FROM
yii2_test_item
\
WHERE
id
>
100
}
index
yii2_test_article_index
index
yii2_test_article_index
{
{
source
=
yii2_test_article_src
source
=
yii2_test_article_src
...
@@ -73,6 +83,13 @@ index yii2_test_item_index
...
@@ -73,6 +83,13 @@ index yii2_test_item_index
}
}
index
yii2_test_item_delta_index
:
yii2_test_item_index
{
source
=
yii2_test_item_delta_src
path
= /
var
/
lib
/
sphinx
/
yii2_test_item_delta
}
index
yii2_test_rt_index
index
yii2_test_rt_index
{
{
type
=
rt
type
=
rt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment