Amer-Yahia, SihemBotev, ChavdarShanmugasundaram, Jayavel2007-04-042007-04-042003-09-30http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cis/TR2003-1912https://hdl.handle.net/1813/5624One of the key benefits of XML is its ability to represent a mix of structured and unstructured (text) data. Although current XML query languages such as XPath and XQuery can express rich queries over structured data, they can only express very rudimentary queries over text data. We thus propose TeXQuery, which is a powerful full-text search extension to XQuery. TeXQuery provides a rich set of fully composable full-text search primitives, such as Boolean connectives, phrase matching, proximity distance, stemming and thesauri. TeXQuery also enables users to seamlessly query over both structured and text data by embedding TeXQuery primitives in XQuery, and vice versa. Finally, TeXQuery supports a flexible scoring construct that can be used to score query results based on full-text predicates. TeX- Query is one of the proposals submitted to the W3C Full-Text Task Force, whose charter is to extend XQuery with full-text search capabilities.104063 bytesapplication/pdfen-UScomputer sciencetechnical reportTeXQuery: A Full-Text Search Extension to XQuerytechnical report