[hibernate-dev] IRC Developer Meeting - 5/30

2013-05-30 Thread Steve Ebersole
Today we discussed the work to update and redesign the query parser and progress on metamodel (5.0) work... [10:49] Meeting ended Thu May 30 15:46:47 2013 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) [10:49] Minutes: http://transcripts.jboss.org/meeting/irc.fre

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Gunnar Morling
2013/5/30 Hardy Ferentschik > > On 30 Jan 2013, at 2:00 PM, Gunnar Morling wrote: > > > I'm wondering how many node types there will be and how deep the > hierarchy > > actually is. If it is basically only something like BeanDescriptor and > > PropertyDescriptor, is it really worth a visitor pat

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Emmanuel Bernard
On Thu 2013-05-30 14:51, Hardy Ferentschik wrote: > >> Things we wanted but where too hard to do so far: > >> - Separate annotation reading from Document building. Separate > >> validity checks too. > >> - It checks for JPA @Id using reflection as it might not be available > >> -> pluggable? > > >

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Hardy Ferentschik
On 30 Jan 2013, at 2:00 PM, Gunnar Morling wrote: > I'm wondering how many node types there will be and how deep the hierarchy > actually is. If it is basically only something like BeanDescriptor and > PropertyDescriptor, is it really worth a visitor pattern? Right, my thinking as well. > On a

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Hardy Ferentschik
> To me since we have an internal representation for DocumentBuilder to do > its runtime job, the user visible model could end up being a flyweight > object in front of it exposing thigns the way we want. Whether you > create this flyweight structure each time is another question. Right. That's m

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Hardy Ferentschik
Gee, that's an email ;-) Before getting too much into it I think it would be useful to talk about what I am actually doing. I am trying to expose a meta data API for Search which allows users to determine which entities are indexed and which fields are available for each entity. I am trying to do

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Gunnar Morling
2013/5/30 Emmanuel Bernard > On Wed 2013-05-29 17:39, Sanne Grinovero wrote: > > We're starting a series of refactorings in Hibernate Search to improve > > how we handle the entity mapping to the index; to summarize goals: > > > > 1# Expose the Metadata as API > > > > We need to expose it because

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-05-30 Thread Emmanuel Bernard
On Wed 2013-05-29 17:39, Sanne Grinovero wrote: > We're starting a series of refactorings in Hibernate Search to improve > how we handle the entity mapping to the index; to summarize goals: > > 1# Expose the Metadata as API > > We need to expose it because: > a - OGM needs to be able to read thi