We have uploaded multiple supplier contracts to a single corpora. When I enter a query, it search across documents. How can I ensure that the search to be done for a specific supplier, ie. a specific document.
Can we ensure that it search the title first before searching the content?
Otherwise, can we filter out the results from other documents by specifying a doc id?
Glad you found the answer. To expand a bit more on this part:
Can we ensure that it search the title first before searching the content?
You can add a filter that only returns titles (e.g., part.is_title = true) of all documents. That way, you can search over titles only.
And if you want to search across titles and content but want to give higher weightage to titles than document content, you can use custom dimensions: Custom Dimensions | Vectara Docs