Hibernate Search 3.1
by Emmanuel Bernard
I think Hibernate Search should go for 3.1 from now one in trunk:
- Lucene 2.3 brings some interesting enhancements that we could
benefit from.
- Sanne has some interesting feedbacks on new reader strategies
(warming up readers), as well as some alternative strategies to speed
up mass indexing.
- Hardy started working on the Null marker value and this requires
some compatibility changes
- John worked on adding TermVectors
- Nick has been working on Similarity, which is a big feature and
deserve some testing and feedbacks.
- I have some additional idea to move some API to a higher level
Do not restrain from breaking changes, but please discuss them here
first before using the butchery knife :)
If you have a todo list for Hibernate Search or if you think some
Hibernate Search areas should be enhanced / reworked, feel free to
discuss your ideas here.
On a less technical note, Hibernate Search has some very good
adoption both standalone and together with JBoss Seam. I had a lot of
tremendous feedback at JBoss World Orlando. We even won a JBoss
Innovation Awards ( well Alintec did ;) ).
Keep up the good work!
Emmanuel
16 years, 9 months
Hibernate Event System Elaboration & Enhancement
by Ricky
Hi,
As suggested, i am forwarding my idea as to what i think Hibernate should
have.
Hibernate currently lacks proper event Delegation model;
Granted it has a hook for listeners and iterates through them to find out
which is appropriate or not.
But a better way would be to add "Queuing of events" approach; meaning each
event is first queued (for firing) and then Hibernate goes through cycles of
phases (it can be internally thought of as a Phase 1 ---> Phase 2 ---> Phase
3 ). and each phase has a queue of events it has to process. A phase can
have corresponding listener to process phases and clear the queue of events
associated with it ( meaning events set to "fire" in the currently executing
phase). All event creation should be centralized and all events should be
queued through a factory. A flexible approach (ideally) would be to allow
users to create Custom phases to enhance lifecycle of their own Application
using Hibernate's Phase interface. "Phase implementation " could include
usage of Enums, but its not mandatory ( so long as we are worried about
back-wards compatibility).
As it is, Hibernate Event system is poorly documented and not very well
understood.
To visualize what i am proposing ( it is actually similiar to the way JSF
works), you have a Phase queue with Phase Factory and a Phase Listener
associated for execution of a phase. Each phase has a bound Queue of Events
to it. A broadcast Agent will broad cast the event to happen in a particular
phase. Next Broadcast Handler Delegate handles the event broadcast by
cycling through phases and finding out what is the current phase and whether
the event which is being broadcast is registered to fire in this phase or
not; (i.e. is appropriate Phase), based on that a phase listener is called
to handle the current phase Phase Listener calls event delegate (which is
the current hook for all listeners) and it will then cycle through listeners
to transfer control to an appropriate listener.
I'd be happy to contribute.
What do you guys think ?
Regards
Vyas, Anirudh
|| ॐ ||
16 years, 9 months
Maven2 upload of hibernate 3.2.6.ga
by Max Bowsher
Looking at MAVENUPLOAD JIRA, it looks like for Hibernate 3.2.x, upload
bundles are produced by anyone who has the time and decides to do it -
is that correct?
If the reason why 3.2.6.ga hasn't been uploaded to central yet is
because no-one's got around to it yet, I'll volunteer.
Have previous bundlers left any notes, or should I just proceed based on
common sense?
Max.
16 years, 9 months
Question regarding Hibernate Search and multiple indexes for same Entity
by Aleksander M. Stensby
Hello, my name is Aleksander M. Stensby.
We are currently using Apache Lucene for our full-text indexing/search
system, but are considering a possible move over to Hibernate Search (or
possibly Compass).
I've been looking at Hibernate Search and have a question that I hope to
get some help with here (if this is the right list to ask the question,
that is.)
We currently have a pretty big and complex database system consisting of
several "similar" databases. That is, the tables and the table structure
of each of these X databses are the same, but the content is not, meaning
it is not a mirroring og sharding system.
What we do at the moment is run X different indexes, each representing a
different database. The indexing is done by batch jobs running several
times a day (we have a pretty large flow into our database every day). The
solution is not very scalable, as we have experienced, and it causes big
problems if something goes wrong with one of these batch jobs. Also, we
actually run one of these processes for each database, each dealing with
its own index. So yeah... a big mess in general.
Since we do use Hibernate, I fell in love with the idéa of Hibernate's
Event system taking care of this indexing for us, but one big and
essential question remains:
How can Hibernate "tackle" several different "identical" databases?
I mean, the layout would be something like this:
DB#1
- TableA
DB#2
- TableA
DB#X
- TableA
TableA in DB#1 would refer to entity no.integrasco.xxx.tableA, but so
would TableA in DB#2, and TableA in DB#X...
So how can we handle indexing of these entities into different indexes?
So that DB#1 - TableA goes into:
/usr/local/lucene/indexes/db1/tableA
DB#2 into
/usr/local/lucene/indexes/db2/tableA
etc..
Is it possible? Maybe I haven't spent enough time on this yet, if the
answer is simple, please forgive me for wasting your time...
Best Regards,
Aleksander M. Stensby
--
Aleksander M. Stensby
Senior Software Developer
Integrasco A/S
aleksander.stensby(a)integrasco.no
Tlf.: +47 41 22 82 72
16 years, 9 months
building hibernate trunk
by Aleksandar Kostadinov
Hello
How can one build hibernate trunk?
I tried to checkout
http://anonsvn.jboss.org/repos/hibernate/core/trunk/
Then first run mvn install on
http://anonsvn.jboss.org/repos/hibernate/maven-poms/trunk/core-parent/pom...
and then mvn install in the checkout dir but I get:
...
WAGON_VERSION: 1.0-beta-2
[INFO] snapshot
org.jboss.maven.plugins:maven-jdocbook-plugin:2.1.0-SNAPSHOT: checking
for updates from snapshots.jboss.org
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct:
Unable to download the artifact from any repository
...
Can we have everything needed to build it in snapshots.jboss.org?
Thanks much,
Aleksandar
16 years, 9 months
Hibernate Search 3.0.1
by Emmanuel Bernard
This new release bring both intersting new featunes and bug fixes
including:
- transparent reindexing on all collection changes
- support of Lucene 2.3 (performance improvements and stability)
- query ResultTransformer making projections even more friendly
and more
For more information check http://in.relation.to/8636.lace
Download available at http://www.hibernate.org/6.html
Enjoy
16 years, 9 months
Hibernate 3.2.6.ga as maven artifact?
by Hardy Ferentschik
Hi all,
I am trying to upgrade from Hibernate 3.2.5.ga to 3.2.6.ga using maven.
However, it seems that 3.2.6.ga is not available on any maven mirror. Is
someone looking into it?
The reason I want to upgrade is
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2936. I am
having problems with the application I am currently working with right
now. It is blowing up with constraints violations after a row of
delete/merge operations. I am not able to reproduce this consistently yet,
but everything starts with a whole bunch of these warnings in the logs:
>>>
fail-safe cleanup (collections) :
org.hibernate.engine.loading.CollectionLoadContext@1dc9666<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@1be70e1>
>>>
I am not sure if the warning is related to the actual problem, but I
thought I address it first. Reading the Jira issues related to HHH-2936 I
was not able to figure out how serious this warning is or if I could
ignore it. Maybe can shed some light for me on this issue as well?
Thanks,
Hardy
16 years, 9 months
SVN Tag for 3.2.0.GA?
by Tomislav Stojcevich
Was a tag created for this release? The closest I can find is CR1, I
need the sources to the GA release.
Thanks,
--tom
16 years, 9 months