1. A system for providing full-text search integration in XQuery for a binary object XML repository, comprising: a storage device configured to store computer-executable program code; and a processor configured to execute the computer-executable program code on computer executable program modules, comprising: an XQuery interpreter module configured to interpret XQuery code and to accept a search query comprising one or more search expressions having one or more search terms; a function dispatcher module configured to dispatch an XQuery function calling mechanism comprising at least one argument for the search query based on the search expressions; a search function module configured to search and interpret a full-text search query syntax for the XQuery function calling mechanism as a built-in search function specified as part of an XQuery language; a search function manager module configured to determine candidate elements that satisfy at least one of the search terms; a postings module configured to return all of the candidate elements that match at least one of the search expressions, wherein each search expression corresponds to a piece of XML syntax; and a score module configured to return a score that reflects strength of each match.