Document metadata in ranking?

2021-02-25 Thread Philip Warner
I am sorry if this has been covered elsewhere, but I wanted to know if it’s possible to inject and use document metadata in ranking search results. As an example, if I have a pool of documents that fit into 3 broad categories: “Peer Reviewed”, “Professional Journalism”, “Blog Post”, then I would

Re: Document metadata in ranking?

2021-02-25 Thread Paul Libbrecht
Hello Philip, I’ll answer with a possibility that might be outdated and predates the existence of payloads (which I think are non-analysed parts so not appropriate). Lucene has fields and you can include the metadata within fields in form of particular tokens. Then you can enrich every query