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

2013-05-31 Thread Gunnar Morling
Hi Hardy, great proposal for the meta-data API. I've added some comments inline. --Gunnar 2013/5/30 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 S

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

2013-05-31 Thread Hardy Ferentschik
> public interface IndexedEntityDescriptor { > > I find the name "IndexedEntityDescriptor" in conjunction with isIndexed() > potentially returning "false" a bit irritating. Maybe just EntityDescriptor? > Or SearchableEntityDescriptor? I thought about EntityDescriptor, but found it to generic.

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

2013-05-31 Thread Hardy Ferentschik
On 31 Jan 2013, at 11:13 AM, Hardy Ferentschik wrote: >>Set getIndexNames(); >> >> Would something like Set getIndexes() make sense? > > That's an interesting thought. In fact I was wondering whether more index > specific information is needed. On the other hand, > I was thinking thi

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

2013-05-31 Thread Emmanuel Bernard
On Fri 2013-05-31 11:17, Hardy Ferentschik wrote: > > On 31 Jan 2013, at 11:13 AM, Hardy Ferentschik wrote: > > >>Set getIndexNames(); > >> > >> Would something like Set getIndexes() make sense? > > > > That's an interesting thought. In fact I was wondering whether more index > > spec

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

2013-05-31 Thread Hardy Ferentschik
>> Forgot to mention that I really dislike getAllIndexesManager(). I would love >> to rename it to getIndexManagers() or getIndexManagerHolder(). >> Might be something for Search 5!? > > I'd say deprecate the existing one and create getIndexManagerHolder() > right now. No need to wait for 5. So

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

2013-05-31 Thread Gunnar Morling
2013/5/31 Hardy Ferentschik > > > public interface IndexedEntityDescriptor { > > > > I find the name "IndexedEntityDescriptor" in conjunction with > isIndexed() potentially returning "false" a bit irritating. Maybe just > EntityDescriptor? Or SearchableEntityDescriptor? > > I thought about Entity

[hibernate-dev] HSEARCH Faceting and facet counts

2013-05-31 Thread Emmanuel Bernard
I know we had a debate but I can't seem to find any detail in the documentation about how facet selection influences the facet counts. In my demo, the facet count is applied after the selection. ie if I do a query that returns '< $100' = 20 and '> $100' = 45, once I select '< $100', the count disp