Yes, when you setup the range index you go to the Collation Builder and build a 
collation URI that is punctuation and whitespace insensitive, and case 
insensitive also.  Then in your code make sure you're using that collation 
rather than the default.  If you have trouble making that work, let me know.

-jh-

On Nov 18, 2014, at 5:30 PM, Lee Li Bin <[email protected]> wrote:

>  
> Hi,
>  
> Is there any solution to ignore start and end space, different types of space 
> (non-breaking space/normal space) and casing to prevent duplicate faceted 
> result instead of cleaning up the data loaded into MarkLogic?
>  
> Data input:
> Res judicata
> Res Judicata
> RES JUDICATA
>  
>  
> Current facet output:
> Res judicata [1]
> Res Judicata [1]
> RES JUDICATA [1]
>  
> Expected facet output:
> Res Judicata [3]
>  
> Thanks,
> LiBin
>  
>  
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to