Debian Codegraph @

doc/locale/en/LC_MESSAGES/tutorial/match_columns.po

raw
1 # -*- po -*-
2 # English translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # Automatically generated, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.5\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-05-22 06:03+0000\n"
12 "Last-Translator: Automatically generated\n"
13 "Language-Team: none\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: en\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 msgid "match_columns parameter"
21 msgstr "match_columns parameter"
22
23 msgid "Full-text search against multiple columns"
24 msgstr "Full-text search against multiple columns"
25
26 msgid "Groonga supports full-text search against multiple columns. Let's consider blog site. Usually, blog site has a table which contains title column and content column. How do you search the blog entry which contains specified keywords in title or content?"
27 msgstr "Groonga supports full-text search against multiple columns. Let's consider blog site. Usually, blog site has a table which contains title column and content column. How do you search the blog entry which contains specified keywords in title or content?"
28
29 msgid "In such a case, there are two ways to create indexes. One way is creating column index against each column. The other way is creating one column index against multiple columns. Either way, Groonga supports similar full-text search syntax."
30 msgstr "In such a case, there are two ways to create indexes. One way is creating column index against each column. The other way is creating one column index against multiple columns. Either way, Groonga supports similar full-text search syntax."
31
32 msgid "Creating column index against each column"
33 msgstr "Creating column index against each column"
34
35 msgid "Here is the example which create column index against each column."
36 msgstr "Here is the example which create column index against each column."
37
38 msgid "First, create ``Blog1`` table, add ``title`` column which stores title string, ``message`` column which stores content of blog entry."
39 msgstr "First, create ``Blog1`` table, add ``title`` column which stores title string, ``message`` column which stores content of blog entry."
40
41 msgid "Then create ``IndexBlog1`` table for column indexes, add ``index_title`` column for ``title`` column, ``index_message`` column for ``message`` column."
42 msgstr "Then create ``IndexBlog1`` table for column indexes, add ``index_title`` column for ``title`` column, ``index_message`` column for ``message`` column."
43
44 msgid "Execution example::"
45 msgstr "Execution example::"
46
47 msgid "``match_columns`` option of ``select`` command accepts multiple columns as search target. Specify query string to ``query`` option. Then you can do full-text search title and content of blog entries."
48 msgstr "``match_columns`` option of ``select`` command accepts multiple columns as search target. Specify query string to ``query`` option. Then you can do full-text search title and content of blog entries."
49
50 msgid "Let's try to search blog entries."
51 msgstr "Let's try to search blog entries."
52
53 msgid "Creating one column index against multiple columns"
54 msgstr "Creating one column index against multiple columns"
55
56 msgid "Groonga also supports one column index against multiple columns."
57 msgstr "Groonga also supports one column index against multiple columns."
58
59 msgid "The difference for previous example is only one column index exists. Thus, There is one common column index against title and message column."
60 msgstr "The difference for previous example is only one column index exists. Thus, There is one common column index against title and message column."
61
62 msgid "Even though same column index is used, Groonga supports to search against title column only, message column only and title or message column."
63 msgstr "Even though same column index is used, Groonga supports to search against title column only, message column only and title or message column."
64
65 msgid "Let's search same query in previous section. You can get same search results."
66 msgstr "Let's search same query in previous section. You can get same search results."
67
68 msgid "There may be a question that \"which is the better solution for indexing.\" It depends on the case."
69 msgstr "There may be a question that \"which is the better solution for indexing.\" It depends on the case."
70
71 msgid "Indexes for each column - The update performance tends to be better than multiple column index because there is enough buffer for updating. On the other hand, the efficiency of disk usage is not so good."
72 msgstr "Indexes for each column - The update performance tends to be better than multiple column index because there is enough buffer for updating. On the other hand, the efficiency of disk usage is not so good."
73
74 msgid "Indexes for multiple column - It saves disk usage because it shares common buffer. On the other hand, the update performance is not so good."
75 msgstr "Indexes for multiple column - It saves disk usage because it shares common buffer. On the other hand, the update performance is not so good."
76
77 msgid "Full text search with specific index name"
78 msgstr "Full text search with specific index name"
79
80 msgid "Groonga also supports full text search with specific index name."
81 msgstr "Groonga also supports full text search with specific index name."
82
83 msgid "In this section, you learn how to use specific index column efficiently."
84 msgstr "In this section, you learn how to use specific index column efficiently."
85
86 msgid "Here is the concrete example about specific index name."
87 msgstr "Here is the concrete example about specific index name."
88
89 msgid "The table which stores entries has columns for title and body. And the terms table has index columns for title and body to entries table."
90 msgstr "The table which stores entries has columns for title and body. And the terms table has index columns for title and body to entries table."
91
92 msgid "There are three index columns in terms table."
93 msgstr "There are three index columns in terms table."
94
95 msgid "entries_title: index column for title"
96 msgstr "entries_title: index column for title"
97
98 msgid "entries_body: index column for body"
99 msgstr "entries_body: index column for body"
100
101 msgid "entries_whole: index column for title and body"
102 msgstr "entries_whole: index column for title and body"
103
104 msgid "If you specify index column which is related to specific data column, related data column is searched with that index implicitly."
105 msgstr "If you specify index column which is related to specific data column, related data column is searched with that index implicitly."
106
107 msgid "For example, if you want to search title or body only, specify ``Terms.entries_title`` or ``Terms.entries_body`` index column."
108 msgstr "For example, if you want to search title or body only, specify ``Terms.entries_title`` or ``Terms.entries_body`` index column."
109
110 msgid "This example uses ``Terms.entries_title`` as index, then search \"Groonga\" against title data column."
111 msgstr "This example uses ``Terms.entries_title`` as index, then search \"Groonga\" against title data column."
112
113 msgid "This example uses ``Terms.entries_body`` as index, then search \"Groonga\" against body data column."
114 msgstr "This example uses ``Terms.entries_body`` as index, then search \"Groonga\" against body data column."
115
116 msgid "If you specify multiple index column which is related to specific data columns, you can also specify data column name as suffix. It means that \"Use specific index and search specific data column explicitly\"."
117 msgstr "If you specify multiple index column which is related to specific data columns, you can also specify data column name as suffix. It means that \"Use specific index and search specific data column explicitly\"."
118
119 msgid "For example, if you want to search title or body only with ``entries_whole`` index, specify ``Terms.entries_whole.title`` or ``Terms.entries_whole.body``. It uses ``Terms.entries_whole`` index and search ``title`` column or ``body`` column explicitly."
120 msgstr "For example, if you want to search title or body only with ``entries_whole`` index, specify ``Terms.entries_whole.title`` or ``Terms.entries_whole.body``. It uses ``Terms.entries_whole`` index and search ``title`` column or ``body`` column explicitly."
121
122 msgid "This example uses ``Terms.entries_whole`` as index, then search \"Groonga\" against title data column."
123 msgstr "This example uses ``Terms.entries_whole`` as index, then search \"Groonga\" against title data column."
124
125 msgid "This example uses ``Terms.entries_whole`` as index, then search \"Groonga\" against body data column."
126 msgstr "This example uses ``Terms.entries_whole`` as index, then search \"Groonga\" against body data column."
127
128 msgid "Nested index search among related table by column index"
129 msgstr "Nested index search among related table by column index"
130
131 msgid "If there are relationships among multiple table with column index, you can search multiple table by specifying reference column name."
132 msgstr "If there are relationships among multiple table with column index, you can search multiple table by specifying reference column name."
133
134 msgid "Here is the concrete example."
135 msgstr "Here is the concrete example."
136
137 msgid "There are tables which store blog articles, comments for articles. The table which stores articles has columns for article and comment. And the comment column refers Comments table. The table which stores comments has columns for comment and column index to article table."
138 msgstr "There are tables which store blog articles, comments for articles. The table which stores articles has columns for article and comment. And the comment column refers Comments table. The table which stores comments has columns for comment and column index to article table."
139
140 msgid "if you want to search the articles which contain specified keyword in comment, you need to execute fulltext search for table of comment, then search the records which contains fulltext search results."
141 msgstr "if you want to search the articles which contain specified keyword in comment, you need to execute fulltext search for table of comment, then search the records which contains fulltext search results."
142
143 msgid "But, you can search the records by specifying the reference column index at once."
144 msgstr "But, you can search the records by specifying the reference column index at once."
145
146 msgid "Here is the sample schema."
147 msgstr "Here is the sample schema."
148
149 msgid "Here is the sample data."
150 msgstr "Here is the sample data."
151
152 msgid "You can write the query that search the records which contains specified keyword as a comment, then fetch the articles which refers to it."
153 msgstr "You can write the query that search the records which contains specified keyword as a comment, then fetch the articles which refers to it."
154
155 msgid "Query for searching the records described above::"
156 msgstr "Query for searching the records described above::"
157
158 msgid "You need to concatenate comment column of Articles table and content column of Comments table with period( ``.`` ) as ``--match_columns`` arguments."
159 msgstr "You need to concatenate comment column of Articles table and content column of Comments table with period( ``.`` ) as ``--match_columns`` arguments."
160
161 msgid "At first, this query execute fulltext search from content of Comments table, then fetch the records of Articles table which refers to already searched records of Comments table. (Because of this, if you comment out the query which creates index column ``article`` of Comments table, you can't get intended search results.)"
162 msgstr "At first, this query execute fulltext search from content of Comments table, then fetch the records of Articles table which refers to already searched records of Comments table. (Because of this, if you comment out the query which creates index column ``article`` of Comments table, you can't get intended search results.)"
163
164 msgid "Now, you can search articles which contains specific keywords as a comment."
165 msgstr "Now, you can search articles which contains specific keywords as a comment."
166
167 msgid "The feature of nested index search is not limited to the relationship between two table only."
168 msgstr "The feature of nested index search is not limited to the relationship between two table only."
169
170 msgid "Here is the sample schema similar to previous one. The difference is added table which express 'Reply' and relationship is extended to three tables."
171 msgstr "Here is the sample schema similar to previous one. The difference is added table which express 'Reply' and relationship is extended to three tables."
172
173 msgid "The first query searches ``mroonga`` from ``Comments2`` table, the second one searches ``mroonga`` from ``Replies2`` and ``Comments2`` table by using reference column index."
174 msgstr "The first query searches ``mroonga`` from ``Comments2`` table, the second one searches ``mroonga`` from ``Replies2`` and ``Comments2`` table by using reference column index."
175
176 msgid "As a result, the first query matches two article because of ``Comments2`` table has two records which contains ``mroonga`` as keyword."
177 msgstr "As a result, the first query matches two article because of ``Comments2`` table has two records which contains ``mroonga`` as keyword."
178
179 msgid "On the other hand, the second one matches one article only because of ``Replies2`` table has only one record which contains ``mroonga`` as keyword, and there is one record which contains same keyword and refers to the record in ``Comments2`` table."
180 msgstr "On the other hand, the second one matches one article only because of ``Replies2`` table has only one record which contains ``mroonga`` as keyword, and there is one record which contains same keyword and refers to the record in ``Comments2`` table."
181
182 msgid "Indexes with Weight"
183 msgstr "Indexes with Weight"
184
185 msgid "If index columns are created for data columns, you can search by indexes with weight. For example, let's try to search blog entries by indexes with weight which contains ``Groonga`` as important keyword in ``Blog1`` table. Generally speaking, an important keyword tend to be included in blog title, so if ``title`` column contains ``Groonga``, its score ( ``_score`` ) must be raised in contrast to ``message`` column. The indexes with weight is used for such a purpose."
186 msgstr "If index columns are created for data columns, you can search by indexes with weight. For example, let's try to search blog entries by indexes with weight which contains ``Groonga`` as important keyword in ``Blog1`` table. Generally speaking, an important keyword tend to be included in blog title, so if ``title`` column contains ``Groonga``, its score ( ``_score`` ) must be raised in contrast to ``message`` column. The indexes with weight is used for such a purpose."
187
188 msgid "Here is the example which search blog entries with ``Groonga`` as important keyword in ``title`` or ``message`` columns."
189 msgstr "Here is the example which search blog entries with ``Groonga`` as important keyword in ``title`` or ``message`` columns."
190
191 msgid "The sample schema and data is same as :ref:`creating-column-index-against-each-column`."
192 msgstr "The sample schema and data is same as :ref:`creating-column-index-against-each-column`."
193
194 msgid "In above query, ``'IndexBlog1.index_title * 10 || IndexBlog1.index_message'`` is specified for ``--match_columns``. It means that if ``title`` column (search ``title`` column using ``IndexBlog1.index_title`` index) matches to ``Groonga``, its weight is multiplied to 10 and if ``message`` column (search ``message`` column using ``IndexBlog1.index_message`` index) matches to ``Groonga``, its weight is 1 (default). If ``Groonga`` matches to ``title`` and ``message``, its weight is 11 (10 + 1) in this case."
195 msgstr "In above query, ``'IndexBlog1.index_title * 10 || IndexBlog1.index_message'`` is specified for ``--match_columns``. It means that if ``title`` column (search ``title`` column using ``IndexBlog1.index_title`` index) matches to ``Groonga``, its weight is multiplied to 10 and if ``message`` column (search ``message`` column using ``IndexBlog1.index_message`` index) matches to ``Groonga``, its weight is 1 (default). If ``Groonga`` matches to ``title`` and ``message``, its weight is 11 (10 + 1) in this case."
196
197 msgid "As a result, ``Groonga test`` blog entry is listed in first."
198 msgstr "As a result, ``Groonga test`` blog entry is listed in first."