Skip to content

Commit da24c0b

Browse files
committed
0.16.2 docs
1 parent b09840a commit da24c0b

File tree

7 files changed

+74
-0
lines changed

7 files changed

+74
-0
lines changed

_layouts/guide.html

+3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ <h3>Tokenizers</h3>
149149
<li><a href="/guide/reference/index-modules/analysis/ngram-tokenizer.html">NGram</a></li>
150150
<li><a href="/guide/reference/index-modules/analysis/standard-tokenizer.html">Standard</a></li>
151151
<li><a href="/guide/reference/index-modules/analysis/whitespace-tokenizer.html">Whitespace</a></li>
152+
<li><a href="/guide/reference/index-modules/analysis/pattern-tokenizer.html">Pattern</a></li>
152153
<li><a href="/guide/reference/index-modules/analysis/uaxurlemail-tokenizer.html">UAX URL Email</a></li>
153154
<li><a href="/guide/reference/index-modules/analysis/pathhierarchy-tokenizer.html">Path Hierarchy</a></li>
154155
</ul>
@@ -171,6 +172,7 @@ <h3>Token Filter</h3>
171172
<li><a href="/guide/reference/index-modules/analysis/synonym-tokenfilter.html">Synonym</a></li>
172173
<li><a href="/guide/reference/index-modules/analysis/compound-word-tokenfilter.html">Compound Word</a></li>
173174
<li><a href="/guide/reference/index-modules/analysis/reverse-tokenfilter.html">Reverse</a></li>
175+
<li><a href="/guide/reference/index-modules/analysis/elision-tokenfilter.html">Elision</a></li>
174176
</ul>
175177

176178
<h3>Char Filter</h3>
@@ -321,6 +323,7 @@ <h3>Filters</h3>
321323
<li><a href="/guide/reference/query-dsl/bool-filter.html">bool</a></li>
322324
<li><a href="/guide/reference/query-dsl/exists-filter.html">exists</a></li>
323325
<li><a href="/guide/reference/query-dsl/ids-filter.html">ids</a></li>
326+
<li><a href="/guide/reference/query-dsl/limit-filter.html">limit</a></li>
324327
<li><a href="/guide/reference/query-dsl/type-filter.html">type</a></li>
325328
<li><a href="/guide/reference/query-dsl/geo-bounding-box-filter.html">geo_bbox</a></li>
326329
<li><a href="/guide/reference/query-dsl/geo-distance-filter.html">geo_distance</a></li>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: guide
3+
title: Elision Token Filter
4+
cat: guide
5+
sidebar: reference_index_modules_analysis
6+
---
7+
8+
p. A token filter which removes elisions. For example, "l'avion" (the plane) will tokenized as "avion" (plane).
9+
10+
p. Accepts @articles@ setting which is a set of stop words articles. For example:
11+
12+
13+
<pre class="prettyprint">
14+
"index" : {
15+
"analysis" : {
16+
"analyzer" : {
17+
"default" : {
18+
"tokenizer" : "standard",
19+
"filter" : ["standard", "elision"]
20+
}
21+
},
22+
"filter" : {
23+
"elision" : {
24+
"type" : "elision",
25+
"articles" : ["l", "m", "t", "qu", "n", "s", "j"]
26+
}
27+
}
28+
}
29+
}
30+
</pre>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: guide
3+
title: Pattern Tokenizer
4+
cat: guide
5+
sidebar: reference_index_modules_analysis
6+
---
7+
8+
p. A tokenizer of type @pattern@ that can flexibly separate text into terms via a regular expression. Accepts the following settings:
9+
10+
|_. Setting |_. Description |
11+
|@pattern@|The regular expression pattern, defaults to @\W+@.|
12+
|@flags@|The regular expression flags.|
13+
|@group@|Which group to extract into tokens. Defaults to @-1@ (split).|
14+
15+
p. *IMPORTANT*: The regular expression should match the *token separators*, not the tokens themselves.

guide/reference/query-dsl/ids-filter.textile

+2
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ p. Filters documents that only have the provided ids. Note, this filter does not
1616
}
1717
</pre>
1818

19+
p. The @type@ is optional and can be omitted, and can also accept an array of values.
20+

guide/reference/query-dsl/ids-query.textile

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ p. Filters documents that only have the provided ids. Note, this filter does not
1515
}
1616
}
1717
</pre>
18+
19+
p. The @type@ is optional and can be omitted, and can also accept an array of values.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: guide
3+
title: Limit Filter
4+
cat: guide
5+
sidebar: reference_query_dsl
6+
---
7+
8+
p. A limit filter limits the number of documents (per shard) to execute on. For example:
9+
10+
<pre class="prettyprint lang-js">
11+
{
12+
"filtered" : {
13+
"filter" : {
14+
"limit" : {"value" : 100}
15+
},
16+
"query" : {
17+
"term" : { "name.first" : "shay" }
18+
}
19+
}
20+
}
21+
</pre>

guide/reference/query-dsl/query-string-query.textile

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ p. The @query_string@ top level parameters include:
3131
| @phrase_slop@ | Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is @0@.|
3232
| @boost@ | Sets the boost value of the query. Defaults to @1.0@. |
3333
| @analyze_wildcard@ | By default, wildcards terms in a query string are not analyzed. By setting this value to @true@, a best effort will be made to analyze those as well. |
34+
| @auto_generate_phrase_queries@ | Default to @false@. |
3435

3536
h1. Multi Field
3637

0 commit comments

Comments
 (0)