Skip to content

Commit 551190b

Browse files
committed
add docs, fix #233
1 parent 8acc581 commit 551190b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+21203
-7
lines changed

.Rbuildignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ notes-v2.md
1616
.github
1717
^codemeta\.json$
1818
^LICENSE\.md$
19-
19+
^_pkgdown\.yml$
20+
^docs$

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ all: move rmd2md
22

33
vignettes:
44
cd inst/vign;\
5-
Rscript -e 'library(knitr); knit("search.Rmd"); knit("elastic_intro.Rmd")'
5+
Rscript -e 'library(knitr); knit("search.Rmd"); knit("elastic.Rmd")'
66

77
move:
88
cp inst/vign/search.md vignettes;\
9-
cp inst/vign/elastic_intro.md vignettes
9+
cp inst/vign/elastic.md vignettes
1010

1111
rmd2md:
1212
cd vignettes;\
1313
mv search.md search.Rmd;\
14-
mv elastic_intro.md elastic_intro.Rmd
14+
mv elastic.md elastic.Rmd

R/searchapis.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#' Search functions.
1+
#' Overview of search functions
22
#'
33
#' @name searchapis
44
#' @details

R/tokenizer_set.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#' @param index (character) A character vector of index names
77
#' @param body Query, either a list or json.
88
#' @param ... Curl options passed on to [crul::HttpClient]
9+
#'
10+
#' @references
11+
#' https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenizers.html
912
#'
1013
#' @author Scott Chamberlain <myrmecocystus@@gmail.com>
1114
#' @examples \dontrun{

_pkgdown.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
reference:
2+
- title: "elastic"
3+
desc: >
4+
High level overview of package
5+
contents:
6+
- elastic
7+
- elastic-defunct
8+
- title: "Connect"
9+
contents:
10+
- connect
11+
- ping
12+
- title: "Cat"
13+
contents:
14+
- starts_with("cat_")
15+
- title: "Search"
16+
desc: >
17+
Various search APIs
18+
contents:
19+
- starts_with("Search")
20+
- starts_with("search")
21+
- msearch
22+
- count
23+
- explain
24+
- validate
25+
- field_stats
26+
- field_caps
27+
- fielddata
28+
- percolate
29+
- scroll
30+
- preference
31+
- title: "Documents"
32+
desc: >
33+
Work with document APIs
34+
contents:
35+
- starts_with("docs_")
36+
- matches("documents")
37+
- termvectors
38+
- mtermvectors
39+
- title: "Indices"
40+
desc: >
41+
Index APIs
42+
contents:
43+
- starts_with("index_")
44+
- starts_with("alias_")
45+
- starts_with("mapping_")
46+
- field_mapping_get
47+
- type_exists
48+
- reindex
49+
- title: "Analysis"
50+
desc: >
51+
Analysis APIs
52+
contents:
53+
- starts_with("tokenizer_")
54+
- title: "Ingest"
55+
desc: >
56+
Ingest APIs
57+
contents:
58+
- ingest
59+
- starts_with("pipeline_")
60+
- title: "Cluster"
61+
desc: >
62+
Cluster/Nodes APIs
63+
contents:
64+
- nodes
65+
- cluster
66+
- tasks
67+
- starts_with("nodes_")
68+
- starts_with("cluster_")
69+
- starts_with("tasks")
70+
- title: "Utilities"
71+
desc: >
72+
Various utility functions
73+
contents:
74+
- units-distance
75+
- units-time
76+
- type_remover
77+
articles:
78+
- title: elastic introduction
79+
contents:
80+
- elastic
81+
- title: elastic searching
82+
contents:
83+
- search

docs/CODE_OF_CONDUCT.html

Lines changed: 150 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)