Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-13 Thread Hardy Ferentschik
On 13 Jan 2013, at 8:47 AM, Gunnar Morling wrote: > Would creating a "real" query language instead of a serialized object > representation make sense then? You mean the Lucene query language - http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/queryparsersyntax.html ;-) In the e

Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-13 Thread Gunnar Morling
2013/6/13 Hardy Ferentschik > > On 13 Jan 2013, at 8:47 AM, Gunnar Morling wrote: > > > Would creating a "real" query language instead of a serialized object > > representation make sense then? > > You mean the Lucene query language - > http://lucene.apache.org/core/old_versioned_docs/versions/3

Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-13 Thread Hardy Ferentschik
On 13 Jan 2013, at 2:11 PM, Gunnar Morling wrote: > 2013/6/13 Hardy Ferentschik > > On 13 Jan 2013, at 8:47 AM, Gunnar Morling wrote: > > > Would creating a "real" query language instead of a serialized object > > representation make sense then? > > You mean the Lucene query language - >

Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-13 Thread Emmanuel Bernard
On Thu 2013-06-13 16:10, Hardy Ferentschik wrote: > > On 13 Jan 2013, at 2:11 PM, Gunnar Morling wrote: > > > 2013/6/13 Hardy Ferentschik > > > > On 13 Jan 2013, at 8:47 AM, Gunnar Morling wrote: > > > > > Would creating a "real" query language instead of a serialized object > > > representa

Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-13 Thread Hardy Ferentschik
>> Right, that's what I am also trying to see/find. > > Sorry, I got confused by your question initially. The query language is not > for an > end-user, it is for developers or machines. So why would a developer use it? One point of the DSL was to have type safe queries and now we want him to

Re: [hibernate-dev] [hsearch] JSON version of Hibernate Search query

2013-06-14 Thread Emmanuel Bernard
On Thu 2013-06-13 21:33, Hardy Ferentschik wrote: > > >> Right, that's what I am also trying to see/find. > > > > Sorry, I got confused by your question initially. The query language is not > > for an > > end-user, it is for developers or machines. > > So why would a developer use it? One point