Domino Access Services

I am able to search using UNID on domino database but don’t how to search using other attributes like CN (canonical name), firstname,…

  1. http:///names.nsf/api/data/documents/unid/E2F56C4E1D26FAB488257E8F00319A2E http://10.131.118.148/names.nsf/api/data/documents/unid/E2F56C4E1D26FAB488257E8F00319A2E

With the above url its working fine but i want to search on other attributes like CN, firstname,…but thats not working…below is the non working url.

http:///names.nsf/api/data/documents/CN/John http://10.131.118.148/names.nsf/api/data/documents/unid/E2F56C4E1D26FAB488257E8F00319A2E

http:///names.nsf/api/data/documents/Firstname/firstname http://10.131.118.148/names.nsf/api/data/documents/unid/E2F56C4E1D26FAB488257E8F00319A2E

Any suggestions how to query domino DATABASE with attributes other than the UNID? ??

I can query on VIEW but it has problem with Full Text Indexing. It wont update immediately even though i set it update immediately. So i can not go with VIEW in my developement.