[MarkLogic Dev General] Multi word thesaurus synonyms

Michael Blakeley mike at blakeley.com
Thu Mar 29 09:29:34 PDT 2012


The thesaurus schema says:

    <xs:element name="term" type="xs:string"/>

So I would think any string would work. If you put together a complete test case, someone might spot the problem.

-- Mike

On 29 Mar 2012, at 01:25 , Dean Pullen wrote:

> Dear all,
> 
> Are mult-word thesaurus synonym's allowed?
> 
> e.g. below:
> 
> <entry pm:sortkey="henrymatisse" pm:docDesc="Henry Matisse" 
> pm:entry="7916768" pm:url="2219899" pm:title="OPP-VAR-OAO">
> <!-- search term -->
> <term>
>     Henry Matisse
> </term>
> <!-- result term -->
> <synonym>
> <term>
>     henri matisse
> </term>
> </synonym>
> </entry>
> 
> As I've reloaded the thesaurus file but it doesn't seem to be picking up 
> the above. Do I need to do anything else apart from loading the file? 
> i.e. some cache refresh somewhere or something?
> 
> Regards,
> 
> Dean
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> 



More information about the General mailing list