Hi all, new to ES here. I'm trying to implement a search engine from a source with the following schema in 1 index:
"references": [another_paper.id, another_paper.id, ...],
Let's say I want to perform a search for papers with the author "A. Smith" between the dates 2017-01-09 to 2017-01-30, and the number of times that each paper are referenced. How would I craft my search query to get results with a generated a field that says how many times each returned document is referenced by other documents under the "references" field? Is this even possible in ES? Execution speed is not important and I can tolerate relatively slow execution speed, but I do not want to update existing documents when I upload new documents.