Skip to content

Commit

Permalink
bump request size from 100 to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwatson committed Nov 12, 2020
1 parent 175936a commit 335067a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const useSearch = () => {
await axios.post(SEARCH_URL, {
index: 'test',
query: query,
size: 100,
size: 1000,
}).then(response => {
console.log(response.data)
const hits = response.data.result.total_items === 0 ? [] : response.data.result.hits.hits.map(r => r._source)
Expand Down

0 comments on commit 335067a

Please sign in to comment.