Shazni, is backend our code? if so we can fix it. Or we can translate from
simpler version to complex version automatically in our code. I also think
it should be country=usa.

Also, BAM had the same problem and gone with Solr syntax. I am not sure
what is the right answer, but pretty use it should be same for both.
Sagara, Anjana please talk.

--Srinath



On Fri, May 22, 2015 at 5:58 PM, Shazni Nazeer <[email protected]> wrote:

> @Manuranga - Fair question. But that's the way the search attribute
> service in the backend expects. Further, the query I have given is
> specifically to query a property in the artifact. So specifying
> "country=usa", we should internally find out that it's a property that the
> user is querying. And for your concern that "convenient method is not that
> convenient", that's what the question is all about; whether to keep the
> query as it's or use a different syntax and pass the attribute map to the
> search service within the method.
>
> Shazni Nazeer
> Mob : +94 777737331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
> Blog : http://shazninazeer.blogspot.com
>
> On Fri, May 22, 2015 at 5:29 PM, Manuranga Perera <[email protected]> wrote:
>
>> That convenient method is not that convenient.
>>
>> Why
>> "propertyName=country&rightOp=eq&rightPropertyValue=usa"
>> Instead
>> "country=usa"
>> ?
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
============================
Srinath Perera, Ph.D.
   http://people.apache.org/~hemapani/
   http://srinathsview.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to