Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -19,11 +19,11 @@ function App() { | ... | @@ -19,11 +19,11 @@ function App() { |
19 | console.log(inputValue); | 19 | console.log(inputValue); |
20 | try { | 20 | try { |
21 | const result = await client.search({ | 21 | const result = await client.search({ |
22 | - index: "wiki-qna2", | 22 | + index: "wiki-test4", |
23 | body: { | 23 | body: { |
24 | query: { | 24 | query: { |
25 | match: { | 25 | match: { |
26 | - "질문(원문, 하 난이도)": inputValue | 26 | + "질문": inputValue |
27 | } | 27 | } |
28 | } | 28 | } |
29 | } | 29 | } | ... | ... |
-
Please register or login to post a comment