Skip to content

Instantly share code, notes, and snippets.

@lio-p
Last active April 10, 2024 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lio-p/93dd055b5dbcf51fda8b99995e0f9e37 to your computer and use it in GitHub Desktop.
Save lio-p/93dd055b5dbcf51fda8b99995e0f9e37 to your computer and use it in GitHub Desktop.
Web crawler - quick start
# Full text search
# Match on fields title and main
# Query: semantic search
GET search-blogs/_search
{
"_source": [
"title",
"url",
"published_date"
],
"query": {
"multi_match": {
"query": "semantic search",
"fields": [
"title",
"main"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment