Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OR operator #169

Open
hackerkid opened this issue Dec 6, 2019 · 4 comments
Open

Support OR operator #169

hackerkid opened this issue Dec 6, 2019 · 4 comments

Comments

@hackerkid
Copy link

Currently there seems to be no way to search stories/comments that matches atleast one of the multiple keywords supplied.

For example I want to get all stories or comments that matches "Cambridge Seed" or "Y Combinator".
I tried https://hn.algolia.com/api/v1/search_by_date?query=%22yc%22+%22cambridge%20seed%22 but that matches stories which contains both of these keywords. Is there any way to do achieve this using a single query?

@niutech
Copy link

niutech commented Nov 7, 2020

+1 for alternative operator. As a workaround, you can search in Google:
"Cambridge Seed"|"Y Combinator" site:news.ycombinator.com/item
and optionally filter by dates.

@Emasoft
Copy link

Emasoft commented Mar 27, 2024

+1 I want to search all news containing "AI" or "LLM" or "artificial intelligence" or "AGI" or "ML" or "GPT" or "deep learning" or "copilot" or "GANs" or "RAG" or "GenAI" or "vector database" or "LangChain" or "openai" or "anthropic" or "llama" or "Hugging Face" or "CUDA".

@niutech
Copy link

niutech commented Mar 28, 2024

Apart from Google Search, you can use DeepHN.

@Emasoft
Copy link

Emasoft commented Mar 28, 2024

Apart from Google Search, you can use DeepHN.

DeepHN does not seem to support the OR operator. Not even on hashtags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants