Background : 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.
Requirement : 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.
1<sup>st</sup> with document title matching the query i.e. ‘Test.docx’ - REQUIRED
2<sup>nd</sup> – Document containing the query text – NOT REQUIRED