Hi Amit,


Haven’t tried, but you should be able to add
<term-option>lang=en</term-option><term-option>lang=de</term-option><term-option>lang=fr</term-option>
to the relevant constraint..



Kind regards,

Geert



PS: I’m wondering whether it would also accept lang=en,de,fr, but the docs
don’t seem to indicate so..



*Van:* [email protected] [mailto:
[email protected]] *Namens *amit gope
*Verzonden:* donderdag 16 augustus 2012 8:12
*Aan:* [email protected]
*Onderwerp:* [MarkLogic Dev General] Query on multiple language using
search api



Hello All,

Can anyone please help me out queering on multiple languages using search
api. In my database i have documents of different languages (en, de, fr) to
name a few. Currently when i do not provide any language specification it
returns me contents from only english. How do i mention the language
constraint to include the search for languages de and fr as well?


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

Reply via email to