Skip to content

Commit 9cb0b98

Browse files
committed
Change a symbol name to avoid conflict in 6.06
1 parent 4b40d8a commit 9cb0b98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

06_databases/6-06_indexing-with-elasticsearch.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ cause a document ID to be generated automatically:
130130
131131
(esi/create "test4" :mappings mapping-types)
132132
133-
(def doc {:username "happyjoe"
133+
(def doc1 {:username "happyjoe"
134134
:first-name "Joe"
135135
:last-name "Smith"
136136
:age 30
@@ -139,7 +139,7 @@ cause a document ID to be generated automatically:
139139
:biography "N/A"})
140140
141141
142-
(esd/create "test4" "person" doc)
142+
(esd/create "test4" "person" doc1)
143143
;; => {:created true, :_index "test4", :_type "person",
144144
;; :_id "2vr8sP-LTRWhSKOxyWOi_Q", :_version 1}
145145
----
@@ -148,7 +148,7 @@ cause a document ID to be generated automatically:
148148

149149
[source,clojure]
150150
----
151-
(esr/put "test4" "person" "happyjoe" doc)
151+
(esr/put "test4" "person" "happyjoe" doc1)
152152
----
153153

154154
==== Discussion

0 commit comments

Comments
 (0)