Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jabo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
241.
▲
by
jabo
6y ago
Happy to! Sent you a DM on Twitter, but I'll email you shortly.
242.
▲
by
jabo
6y ago
Looks like it's going to be a while before I can download the dataset. Seems to be pretty slow even when downloading on EC2 with a 10Gpbs connection. ol_dump_latest.txt.gz 0%[
243.
▲
by
jabo
6y ago
Alright! A handful of upvotes in addition to a comment. I’m on it! I’ll whip something up and report back in a few hours.
244.
▲
by
jabo
6y ago
Openlibrary looks pretty awesome. Thank you for sharing! Would anyone be interested in having an instant search experience for this books dataset, like the one I built for the 2M recipes database posted on HN earlier this week: https:/
245.
▲
by
jabo
6y ago
Yup, updated it!
246.
▲
by
jabo
6y ago
Any ideas for a domain name? You know what they say about naming things... :) Just made the links clickable!
247.
▲
by
jabo
6y ago
That's actually the icon I intended to show! :) It's an icon of a ticket that gets printed in restaurant kitchens.
248.
▲
by
jabo
6y ago
In my case since the assets have fingerprinted filenames and index.html references them, if I delete old files with each deployment, then a user who has a cached version of index.html will see a broken page. So I just leave old asset files
249.
▲
by
jabo
6y ago
> Then there's also languages like Thai that are not whitespace separated on the word level, but that use an alphabet. I did not know that! Good to know. > What was the dataset size? 2.2GB in size, with ~2.2M records > What wa
250.
▲
by
jabo
6y ago
Typesense would indeed be good for a general web page search system, just like Algolia. In fact, even Algolia stores web page data as structured JSON entities. re: why not just postgres text search, I'll post a more detailed response i
251.
▲
by
jabo
6y ago
Hmm interesting, I can't seem to replicate this issue. What browser are you using?
252.
▲
by
jabo
6y ago
I'm guessing you meant to say logographic languages. We don't yet support tokenization for logographic languages (like Chinese, Japanese, etc) but it's on our medium-term radar: https://github.com/typesense&#x
253.
▲
by
jabo
6y ago
Added to my todo list, to toggle between AND / OR when filtering by ingredients.
254.
▲
by
jabo
6y ago
If it can fit in memory, yes. But TBH, logs are a unique beast in that searches are usually temporal and only a tiny portion of the dataset is typically queried. So it will be wasteful to store the entire index in memory 24x7, which is what
255.
▲
by
jabo
6y ago
If you have a structured dataset, I can build an instant search experience around it!
256.
▲
by
jabo
6y ago
Thank you!
257.
▲
by
jabo
6y ago
I got the source dataset from this Show HN earlier today: https://news.ycombinator.com/item?id=25356156 Here's a comment thread that talks about copyright: https://news.ycombinator.com/item?id=25358813
258.
▲
by
jabo
6y ago
I actually sourced the aggregate dataset from this other Show HN earlier today: https://news.ycombinator.com/item?id=25356156 I do include the source website in the search results. It's the little icon on the bottom ri
259.
▲
by
jabo
6y ago
If you click on the little icon on the bottom right of each search result card, that should take you to the source website from where the recipe is from.
260.
▲
by
jabo
6y ago
Hmmm, I do see a valid cert on my end: https://imgur.com/a/xgYwGFc Could you show me a screenshot of what cert gets loaded for you? I did switch between infra providers earlier today. So I wonder if you're hitting
261.
▲
by
jabo
6y ago
The top bar only searches within recipe titles. So if a recipe title has those keywords, it will show up in the results. The best way to search for ingredients would be in the sidebar. In this particular example, the issue is that the sourc
262.
▲
by
jabo
6y ago
This is not possible at the moment, but it's on my todo list.
263.
▲
by
jabo
6y ago
Ah interesting use case with food allergies and exclusions. Added this to my todo list. I see what you did there with low hanging fruit! I'll take a pass at de-duping plurals in ingredients. Good catch!
264.
▲
by
jabo
6y ago
This is unfortunately an issue with the source dataset that I got from here[1]. I've now added a prominent warning to the UI, to check with the original site if the ingredient measurements seem off. Don't want any ruined dinners o
265.
▲
by
jabo
6y ago
I unfortunately did not find a good field to sort by in the original dataset from earlier today [1]. So it's just sorted by text match relevance scores, and then the order that they appear in the dataset. I'm hoping they publish a
266.
▲
by
jabo
6y ago
Hmm, I'd think so too. Looks like the source dataset [1] has it wrong :( This is how it shows up (CSV format): 2230984,Buffalo Chicken Pizza!,"[""1 (9 3/4 ounce) canswanson premium white chunk chicken breast in wate
267.
▲
by
jabo
6y ago
I unfortunately did not find a good field to sort by in the original dataset from earlier today [1]. So it's just sorted by text match relevance scores, and then the order that they appear in the dataset. I'm hoping they publish a
268.
▲
by
jabo
6y ago
Ah yes, good catch. I'll fix that history issue. Btw, the search backend has typo tolerance enabled. So you should be able to get away with typos as bad as "cliflowre" and still get the right results: https://recip
269.
▲
by
jabo
6y ago
Hmmm, I do see a valid cert on my end: https://imgur.com/a/xgYwGFc Could you show me a screenshot of what cert gets loaded for you? I did switch between infra providers in the last few hours. So I wonder if you're
270.
▲
by
jabo
6y ago
Hmmm, I spot checked a couple of records and I do see the / in measurements: https://imgur.com/IhBMBBD Could you give an example record that doesn't have the right measurements? I can then verify with the source d
More ›