Content pfp
Content
@
0 reply
0 recast
2 reactions

Pranav Prakash pfp
Pranav Prakash
@pranav
Is searchcaster dead? The links are active, but I keep getting Cloudflare timeouts. Whats the alternative?
2 replies
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
buoy
1 reply
0 recast
1 reaction

Pranav Prakash pfp
Pranav Prakash
@pranav
Do they have an API? Doesn't mention on their website. https://buoy.club/#pricing is the one, right?
1 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
no api, but it's the app I use for search
2 replies
0 recast
1 reaction

Pranav Prakash pfp
Pranav Prakash
@pranav
I am looking for an API. Currently using neynar data playground, but its so primitive and spending hours trying to understand schema, writing queries and the results are bad. It feels like stone age in the modern AI ecosystem. I use @mbd for semantic search, but keyword search is still missing from the ecosystem
1 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
can you let AI write the SQL queries for you?
1 reply
0 recast
0 reaction

Pranav Prakash pfp
Pranav Prakash
@pranav
Yes that's what i have been doing. Here is my query, but when i search for "degen" in last 168 hours, i only get 10 rows WITH RelevantCasts AS ( SELECT c.id, c.fid, c.text, c.timestamp, c.hash AS cast_hash, COUNT(r.id) AS reaction_count FROM casts c LEFT JOIN reactions r ON c.hash = r.target_hash AND r.deleted_at IS NULL WHERE c.text ~* ('\y' || regexp_replace('{{query_str}}', '[$^.]', '\\\&', 'g') || '\y') AND c.timestamp > NOW() - INTERVAL '{{time_hrs}} HOURS' AND c.deleted_at IS NULL GROUP BY c.id ) SELECT rc.id, rc.fid, f.fname AS fname, rc.text, rc.timestamp, rc.cast_hash, rc.reaction_count FROM RelevantCasts rc JOIN fnames f ON rc.fid = f.fid AND f.deleted_at IS NULL ORDER BY rc.reaction_count DESC, rc.timestamp DESC LIMIT 10;
1 reply
0 recast
0 reaction

Pranav Prakash pfp
Pranav Prakash
@pranav
Ah sh*t thats because there's a limit clause in this. query
1 reply
0 recast
1 reaction

Pranav Prakash pfp
Pranav Prakash
@pranav
Okay, so i removed the limit, searched for "degen" with 100 rows and it takes like 2mins20s mins for this query. I guess the regex is making it slow, but i also need to do an exact match on "$mother" for example which will give different results than "mother". @samuellhuber.eth
1 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
adjust your sql query to get the exact match?
1 reply
0 recast
0 reaction