Skip to content

Commit 56b3441

Browse files
committed
Cleaned up suggest documentation attempt.
1 parent 28f8608 commit 56b3441

File tree

2 files changed

+9
-47
lines changed

2 files changed

+9
-47
lines changed

new_docs/contents/nest/search/suggest.html

Lines changed: 0 additions & 38 deletions
This file was deleted.

new_docs/contents/nest/search/suggest.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ You can also use fuzzy parameters, either by specifying edit distance and such:
1919
client.Suggest<ElasticSearchProject>(s => s
2020
.Completion("my-suggestion", c => c
2121
.Text("test")
22-
.Fuzzy(f => f
23-
.EditDistance(2)
24-
.Transpositions(false)
25-
.MinLength(5)
26-
.PrefixLength(4))));
22+
.Fuzzy(f => f
23+
.EditDistance(2)
24+
.Transpositions(false)
25+
.MinLength(5)
26+
.PrefixLength(4))));
2727

2828
Or by using the Fuzziness variant:
2929

30-
client.Suggest<ElasticSearchProject>(s => s
31-
.Completion("my-suggestion", c => c
32-
.Text("test")
33-
.Fuzziness();
30+
client.Suggest<ElasticSearchProject>(s => s
31+
.Completion("my-suggestion", c => c
32+
.Text("test")
33+
.Fuzziness();

0 commit comments

Comments
 (0)