Update Explore.svelte
This commit is contained in:
parent
03a3f475cd
commit
8013c8d0f5
|
|
@ -190,8 +190,6 @@
|
||||||
// attributesToRetrieve: ['id']
|
// attributesToRetrieve: ['id']
|
||||||
// })
|
// })
|
||||||
const searchResult = await index.search(e.target.value.toString())
|
const searchResult = await index.search(e.target.value.toString())
|
||||||
console.log(searchResult.hits)
|
|
||||||
// need to turn the search results into an array of ids which can be used to query the knowledge graph
|
|
||||||
const resultsgraph = await generateKnowledgeGraph(searchResult.hits).then(
|
const resultsgraph = await generateKnowledgeGraph(searchResult.hits).then(
|
||||||
resultsgraph => {
|
resultsgraph => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue