Oracle Endeca two way thesaurus not showing same number of records

84 Views Asked by At

I have defined two way thesaurus for few entries in the pipeline. Two way thesaurus is expected to give same number of results when searched for any of the entries specified in the two way thesaurus. But its not working so. For Example, there are two entries like fresh veg and fresh vegetable defined as two way thesaurus. When searched for fresh veg in jspref, its providing 0 or 10 records. But when searched for fresh vegetables its showing hundreds of records. Match mode is all. Why is this working in a weird manner. And how to trouble shot/ solve this issue.

1

There are 1 best solutions below

4
radimpe On

Based on your description you have a thesaurus entry as follow:

Fresh Vegetable <==> Fresh Veg

This, according to the documentation, is incorrect and can lead to incorrect values.

Avoid multi-word thesaurus forms where single-word forms are appropriate. In particular, avoid multi-word forms that are not phrases that users are likely to type, or to which phrase expansion is likely to provide relevant additional results.

For example, the two-way thesaurus entry: Aethelstan, King Of England (D. 939) = Athelstan, King Of England (D. 939) should be replaced with the single-word form:

Aethelstan = Athelstan

This suggests that you will get the correct two-way result if you simply map:

Vegetable <==> Veg