cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Query - exact match issue

singhr
Champ in-the-making
Champ in-the-making
Hi,

I want to search for exact match of "Hong Kong" within existing categries using following query:

+PATH:"/cm:categoryRoot/cm:generalclassifiable/cm:Regions//*" +TYPE:"cm:category" +@cm\:name:"hong kong"

But it is returning Hong Kong SAR which is wrong.

Please advice.
2 REPLIES 2

pfrauenk
Champ in-the-making
Champ in-the-making
hello
if you stll wondering why you get always more than demanded, watch this out
http://forums.alfresco.com/en/viewtopic.php?f=3&t=6345&p=20469&hilit=exact+match#p20469
best regards Peter

andy
Champ on-the-rise
Champ on-the-rise
Hi

The latest code supports dual FTS and ID style tokenisation.

Andy