[hibernate-dev] [HSEARCH] Extract core of HSEARCH query engine to be independent of Hibernate Core.
sanne at hibernate.org
Wed Feb 23 12:13:48 EST 2011
I've been trying to port current work in progress as dependency of
I'm wishing for these changes:
1) TimeoutManager should throw specific exceptions directly, depending
on the framework being used
(see the pull request I sent you , I think it solves the issue, we
might want to polish it a bit to have the JPA interface define it's
own specific factory.
2) The org.hibernate.search.engine.Loader interface:
I'd just remove the init() method from the interface.
Infinispan Query needs quite different types and parameters (and
definitely not a Session), and I see no reason to have the init method
expressed by the interface contract.
Each framework should know how to create and initialize his specific loaders.
For the rest, it's great! this is removing a lot of code duplication,
and consequently improving Query with all latest bugfixes and features
2011/2/21 Emmanuel Bernard <emmanuel at hibernate.org>:
> On Feb 19, 2011, at 1:41 AM, Sanne Grinovero wrote:
>> great, thank you. Pulled this so I can have a look tomorrow, when I'll
>> have 10h train.
>> Are you only looking for feedback, or do you think something should be
>> merged already?
> This will probably be merged within a week or two.
>> What is the fate of the MassIndexer ? Even if I managed to abstract it
>> from Hibernate I wonder how much the general concept would be
>> appropriate for other integrations, so I'd move it away with the
>> hibernate specific code. In case we change minds we can move it back
>> into core later.
> You tell us if the core of mass indexer should be reusable or not. That can definitely be done in a second step.
More information about the hibernate-dev