Hi Martin,
That's interesting. I have a couple of questions for you.
What is the notion of profile and when would you use it?
When do you need and use sub query ids?
The issue you had was to map getters to query parameters in an easier way than currently
possible, correct? It reminds me a little bit of the Example query with a parameter twist.
I have to admit, I am a bit skeptical on a few things:
- having to extend a technical class
- I don't think annotations are the best way to express queries but you probably have
your reasons, so let's discuss them :)
Have you explored the ability to write the query programmatically while still making use
of the getter binding? I can imagine we could update the DSL to accept the parameters
holder and have them injected.
I wonder if literally an Example API would address your use cases ?
Thanks the first thoughts
Emmanuel
On 3 févr. 2014, at 19:08, Martin Braun
<martinbraun123(a)aol.com> wrote:
Hi,
I am currently working on a new way to query in Hibernate Search. It's not finished,
but
it already works. I am planning on extending the functionality a lot in the future and
I thought this could be a nice addition to Hibernate Search. What do you think?
https://github.com/s4ke/HibernateSearchQueryExtension
Martin Braun
martinbraun123(a)aol.com
www.github.com/s4ke
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev