Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vitorbaptistaa
on March 16, 2017
|
parent
|
context
|
favorite
| on:
How Discord Indexes Billions of Messages Using Ela...
Great writeup, thanks! For the search query, are you guys using Elasticsearch's query strings or have you wrote your own? If using elasticsearch's, have you had any issues so far?
jhgg
on March 17, 2017
[–]
We're just passing elastic search JSON data using their query DSL:
https://www.elastic.co/guide/en/elasticsearch/reference/curr...
vitorbaptistaa
on March 17, 2017
|
parent
[–]
I'm sorry, I haven't used Discord. From reading the post, I got the impression that you allow queries like:
from:jhgg "Fallout 4" -Witcher
Is that so? If so, you created a parser for this format yourselves and are converting that to ElasticSearch's Query DSL?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: