cancel
Showing results for 
Search instead for 
Did you mean: 

Doing a case insensitive search for Path

pchoe
Champ in-the-making
Champ in-the-making
I am trying to do a lucene search based on a path, but I need it to do a case insensitive search for path.

If I have a directory path /app:company_home/st:sites/cm:mySpace/cm:Test, I can do a lucene search with
PATH:"/app:company_home/st:sites/cm:mySpace/cm:Test" and I get back the expected result.

But if I:
PATH:"/app:company_home/st:sites/cm:mySpace/cm:test"

as the query parameter, this won't return the directory 'Test'.

Is there a way to do a path search that is case insensitive?

Peter Choe
3 REPLIES 3

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

There is no way to do case insensitive PATH.
It is based on XPATH which is case sensitive.

Andy

anghelutar
Champ in-the-making
Champ in-the-making
Did anything new happen here in the last versions of Alfresco?
Can one do a case-insensitive PATH search?

Thanks,
roxana

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

No.

The XPATH spec is still case sensitive…
You could try configuring your own PATH analyser and making it lower case.

Andy