News for hackers. Stuff that matters.
Re:Fast, Open Source Search by chabad360 on Friday May 14, 2021 @11:04AM (#27155043)
I would generate a JSON feed for the site and upload that (I am curious if this can detect duplicate records. Edit: it can using the UPSURT call), that way you could even have full text search.

A crawler is probably not the best tool for this if you use some form of site generation, as you can also use it to generate the information that goes into Typesense.

Re:Fast, Open Source Search by dariusj18 on Friday May 14, 2021 @11:20AM (#27155207)
I also want pdfs and other files indexed
Re:Fast, Open Source Search by jabo on Friday May 14, 2021 @12:15PM (#27155910)
Typesense operates on JSON documents. So you'd have to first extract the data from PDFs / office docs into JSON and then index it.

There are libraries that let you do the conversion:

https://github.com/modesty/pdf2json

https://github.com/microsoft/Simplify-Docx