[hibernate-dev] Some minor improvements to Hibernate Search

Emmanuel Bernard emmanuel at hibernate.org
Fri Oct 23 14:24:05 EDT 2009


On 23 oct. 09, at 16:47, Amin Mohammed-Coleman wrote:

> Hi All
> I have been looking at the Hibernate Search codebase and I am very  
> keen to
> help out.  I have noticed some small changes I would like to purpose  
> (very
> small) and I hope I don't offend anyone by mentioning these.
> 1) Remove cyclic reference in JmsBackEndQueueProcessor and
> JmsBackEndQueueProcessorFactory.  It seems as though the factory  
> creates a
> processor and the processor depends on the factory.  The processor  
> only
> needs the queueConnection factory and jms queue which I think should  
> be
> passed to the processor instead of passing the factory.  The object  
> being
> created should not know about the factory.

Whatever ;)

> 2) Create a convienence method (not sure where) that enables a user  
> to get
> the lucene document using either the fulltextsession.  So for  
> example the
> method would loook something like:
>   fullTextSession.getDocument(Class<?> clazz, Serializable id);
>   Under the hood it would delegate the work to the directory  
> providers and
> close the index readers.

What's your use case exactly? I've never had such a need.

> 3) Provide integration with GigaSpaces which I had started but not
> completed.

cool. It maybe time to cut Hibernate Search into a few subprojects.  
Hardy, do you want to give it a thought?

> 4) Integration with Spring and maybe Spring Integration.

cool, maybe it could be another module, I don't want any unneeded  
dependency on the core.

> Sorry if my mail is brief however I would be happy to discuss any of  
> the
> points further.
> Kind Regards
> Amin (amin-mc on the forums)
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list