In SP2013 Online, for every document library, we have a search box to search within the document library. The query returns results based on document metadata + match within the document.
Search result should match only from Document title and NOT within the document content.
For e.g. :
For the below-mentioned documents, if the search is keyed for word “test”: 2 results are found.
1st with document title matching the query i.e. ‘Test.docx’ - REQUIRED
2nd – Document containing the query text – NOT REQUIRED