The community member is having trouble with an index that provides definitions of specific articles within texts, but the definitions are not relevant to the requested article. A comment suggests the community member might be interested in using a keyword index or a combination of a keyword index and vector index, and provides a link to an example of a retriever query engine with custom retrievers. However, there is no explicitly marked answer in the comments.
What is the best way to tell the index to bring me specific definitions and cited in the documents with which it was trained. I am having problems when it tells me definitions of specific articles within the texts, for example: tell me what article 19 says and it brings me a totally different article.