Issue Downloading Data via browseObject Method from Algolia
TLDR Nikunj faced issues while downloading data from Algolia using the browseObject method. Kishore Nallan suggested checking if the 'index' was properly initialized.
Jan 30, 2023 (8 months ago)
Nikunj
10:42 AMI am using browseObject method
Kishore Nallan
10:48 AMNikunj
10:50 AMdownloadData: () => {
let hits = []
index
.browseObjects({
query: '',
batch: batch => {
hits = hits.concat(batch)
},
})
.then(() => {
console.log(hits)
})
}
Kishore Nallan
10:54 AMindex
is not initialised properly. Try printing the value of index
.Nikunj
11:05 AMpartialUpdateObjects ,etc but working fine.
Kishore Nallan
11:09 AMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Querying with Typesense-Js and Handling Null Values
michtio was querying using typesense-js and receiving fewer results than expected. Kishore Nallan suggested using different query parameters. Further discussion led to the handling of 'null' values and filtering syntax in the search queries. The thread ended with Jason offering migration support from Algolia to Typesense.



Solving Typesense Docsearch Scraper Issues
Sandeep was having issues with Typesense's docsearch scraper and getting fewer results than with Algolia's scraper. Jason helped by sharing the query they use and advised checking the running version of the scraper. The issue was resolved when Sandeep ran the non-base regular docker image.
Speeding up Index Creation in WordPress with Typesense Client
Jennifer needed help with index creation for large datasets in WordPress. Jason suggested using a timestamped collection with Typesense's PHP client and collection aliases to speed up the process, as well as the batch import endpoint for more efficient indexing.
