Created
September 20, 2018 04:08
-
-
Save GohioAC/987a25faafa1c61a05bb7eb492bef2fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /semantic_scholar/_search | |
{ | |
"query": { | |
"bool": { | |
"filter": { | |
"bool": { | |
"should": [ | |
{ "match_phrase": { "doc.entities": "Machine Learning" }}, | |
{ "match_phrase": { "doc.entities": "Artificial Intelligence" }}, | |
{ "match_phrase": { "doc.entities": "Natural Language Processing" }}, | |
{ "match_phrase": { "doc.entities": "Deep Learning" }}, | |
{ "match_phrase": { "doc.entities": "Computer Vision" }}, | |
{ "match_phrase": { "doc.entities": "Speech Recognition" }}, | |
{ "match_phrase": { "doc.entities": "Knowledge Graph" }}, | |
{ "match_phrase": { "doc.entities": "Neural Network" }}, | |
{ "match_phrase": { "doc.entities": "Information Retrival" }} | |
], | |
"minimum_should_match" : 1, | |
"must" : { | |
"match" : { "doc.pdfUrls": "arxiv" } | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment