Hi,
I Have my sample LSCS Query
http://host
ort/lscs/v1/document$*?q=((TeamSite/Templating/DCR/Type:Category/Datatype) AND (TeamSite/Metadata/Title:="Welcome to the new Distributed 20% Image Capture & Exchange (DICE) in"))
I am not able to propagate results for above query , The Error I am able to see is "Invalid query syntax: No matching quotes".
My actual query that needs to implement,
http://host
ort/lscs/v1/document$*?q=((TeamSite/Templating/DCR/Type:Category/Datatype) AND (TeamSite/Metadata/SharedGroup:=APP_GROUP1,APP_GROUP_A&B))
Is giving an error "Invalid query syntax: Parentheses are mismatched"
I have also tried with,
http://host
ort/lscs/v1/document$*?q=((TeamSite/Templating/DCR/Type:Category/Datatype) AND (TeamSite/Metadata/SharedGroup:="APP_GROUP1","APP_GROUP_A&B"))
but getting same error.
I believe its because of some special characters (&[which will treat as parameters],%) attached with metadata value in the query.
I have one more restriction that Example APP_GROUP1, APP_GROUP_A&B in the above example; I am getting it from LDAP. So that we cannot handle this with perl(replacing, encoding etc) .
Please suggest me any approach handle to encode the query for the special characters.
Thanks In Advance.