For some specialized applications, you can also use a lexicon to create this type of functionality. For example, if you have a list of popular terms that people search for, you can grab their query text, do a lexicon match lookup (cts:element-value-match et al) on the query text to find all of the close matches, and then pick one or all of those matches as possible "did you mean" alternatives. You could also combine this approach with the spelling correction functionality and/or the thesaurus functionality to expand the possible matches.
The possibilities are endless.... -Danny From: [email protected] [mailto:[email protected]] On Behalf Of Shannon Sent: Thursday, August 27, 2009 7:44 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] "Did You mean" functionality in marklogic Hi, Judie, You may benefit from reading section 16 of Search Developer's Guide<http://xqzone.com/pubs/4.1/books/search-dev-guide.pdf> on "Using the Spelling Correction Functions" because I think that's the API you're looking for. Best, Shannon On Aug 27, 2009, at 10:33 AM, judie pearline wrote: Hi, We are developing a search application in Marklogic where we need to implement a similar functionality like "Did you mean?"(google). As per my understanding there is no built in function available in Marklogic(Correct me if i am wrong). Is there any way we can achieve this? Any suggestion will be helpful. Thanks, Judie start: 2008-06-21 end: 0000-00-00 ________________________________ See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz<http://in.rd.yahoo.com/tagline_buzz_1/*http:/in.buzz.yahoo.com/>._______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://xqzone.com/mailman/listinfo/general -- Shannon Scott Shiflett, XML Programmer ROTUNDA, The University of Virginia Press PO Box 801079, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: [email protected]<mailto:[email protected]> Tel: +1 434 924 4495 Web: http://rotunda.upress.virginia.edu/
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
