I believe you can specify a language in the 
options<http://developer.marklogic.com/pubs/4.1/apidocs/SearchAPI.html#search-options>,
 or create a constraint on whatever element or attribute specifies your 
language.

From: [email protected] 
[mailto:[email protected]] On Behalf Of spig
Sent: Wednesday, June 09, 2010 4:49 PM
To: [email protected]
Subject: Re: [MarkLogic Dev General] Search:Suggest and Internationalized 
documents

Just wondered if anyone had any ideas, or if this is possible.

Is there a way to specify a searchable-expression for suggestion-source or 
default-suggestion-source?

--
Steve

On Tue, Jun 8, 2010 at 2:27 PM, spig <[email protected]<mailto:[email protected]>> 
wrote:
I am trying to use search:suggest and am having a minor issue where sometimes a 
word is shown in a different language. Is there a way to limit the 
suggestion-source or the default-suggestion-source to only show results from 
one language? My search:search call is using searchable-expression to limit the 
search documents to a specific language. Is there anything similar for 
suggestion-source?

TIA for any thoughts

--
Steve


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to