[HSEARCH] Any plan to release 3.4.2 soon?
by Guillaume Smet
Hi Hibernate Search developers,
Is there any plan to release 3.4.2 soon?
We especially would like to see HSEARCH-1020 released in an official
3.4.x release as we have a couple of applications in production we
won't move to 4.x. I would like to remove the workaround we added (we
define a non default boost strategy to force reindexing entities on
update... cough cough...)
Thanks for your feedback.
--
Guillaume
13 years, 1 month
Deploying Hibernate OGM on AS 7.1 [OGM-117]
by Sanne Grinovero
Hi Scott,
last week I've been talking to you on IRC about Hibernate OGM on AS
7.1 deployment issues.
That day I have been trying some module configurations, but have since
had no time to look at it further.
Do you think you could help with it?
As I described on the issue, I have a fully-failing test which I
pushed to my github fork as branch OGM-117; it requires one manual
step which is to define the module in the AS instance.
[BTW is there a way to have Arquillian deploy a test-defined module
…
[View More]automatically?]
I've included the module.xml ; I started with the one suggested by
yourself and then made several other attempts so it's now a bit
different.
Current version seems to deploy fine (so it correctly registers the
OGM extensions to Core) but then it doesn't know about the entities,
they are all considered unmapped.
Suggestions welcome!
https://hibernate.onjira.com/browse/OGM-117
[View Less]
13 years, 1 month
Hibernate Search 4.1.0.CR1 is out: soft deletes
by Emmanuel Bernard
Hi all,
Hibernate Search 4.1 CR1 is out. give it a try as Final is coming very fast.
We have added indexing interceptors to be able to do soft deletes and many other things.
We have also released Hibernate Search 3.4.2 which is purely about bug fixes for users stuck in the 3.4 series.
Read more on 4.1.0.CR1 at http://goo.gl/SNAe5
Many thanks to our contributors and in particular to Guillaume Smet.
Emmanuel
13 years, 1 month
ERROR SqlExceptionHelper:144 - Table "GIVENIDSTRENTITY_AUD" not found;
by Strong Liu
Hi Adam,
when running hibernate test suite, this test (org.hibernate.envers.test.integration.merge.AddDelTest) always fail with the following message:
22:09:58,494 DEBUG SQL:104 -
create table GIVENIDSTRENTITY_AUD (
id integer not null,
REV integer not null,
REVTYPE tinyint,
data varchar(255),
primary key (id, REV)
)
Hibernate:
create table GIVENIDSTRENTITY_AUD (
id integer not null,
REV integer not null,
REVTYPE …
[View More]tinyint,
data varchar(255),
primary key (id, REV)
)
22:09:58,851 DEBUG SQL:104 -
insert
into
GIVENIDSTRENTITY_AUD
(REVTYPE, data, id, REV)
values
(?, ?, ?, ?)
Hibernate:
insert
into
GIVENIDSTRENTITY_AUD
(REVTYPE, data, id, REV)
values
(?, ?, ?, ?)
22:09:59,032 WARN SqlExceptionHelper:143 - SQL Error: 42102, SQLState: 42S02
22:09:59,033 ERROR SqlExceptionHelper:144 - Table "GIVENIDSTRENTITY_AUD" not found; SQL statement:
select givenidstr0_.REV as col_0_0_ from GIVENIDSTRENTITY_AUD givenidstr0_ cross join REVINFO defaultrev1_ where givenidstr0_.id=? and givenidstr0_.REV=defaultrev1_.REV order by givenidstr0_.REV asc [42102-145]
org.hibernate.exception.SQLGrammarException: Table "GIVENIDSTRENTITY_AUD" not found; SQL statement:
select givenidstr0_.REV as col_0_0_ from GIVENIDSTRENTITY_AUD givenidstr0_ cross join REVINFO defaultrev1_ where givenidstr0_.id=? and givenidstr0_.REV=defaultrev1_.REV order by givenidstr0_.REV asc [42102-145]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:122)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
at $Proxy18.prepareStatement(Unknown Source)
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147)
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166)
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1720)
at org.hibernate.loader.Loader.doQuery(Loader.java:828)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
at org.hibernate.loader.Loader.doList(Loader.java:2447)
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio
[View Less]
13 years, 1 month
[HSEARCH] 4.1 CR1 release plan
by Emmanuel Bernard
Hi guys,
Today is the major day for code changes before tomorrow's release.
I think I will get HSEARCH-471 soft delete ready by tonight, I am working on the documentation side. I've decided to disable dirty checking when this feature is used. I still need feedback as per the pull request demand https://github.com/hibernate/hibernate-search/pull/238. This is pre doc but I'd love feedback in case I need to adjust the code today.
By the way, do you have a better name for this feature? It's …
[View More]literally indexing action interception.
If you have feature that must be in 4.1 *now* is the time to let the pull requests flow.
We will be a bit late and do the release tomorrow morning.
Emmanuel
[View Less]
13 years, 1 month
(no subject)
by skawashima@uchicago.edu
Hi,
I wrote sample implementations for Voldemort,Redis and Riak on Hibernate OGM a couple of weeks ago. Based on them, I created a Voldemort maven module and put it on my github repository at https://github.com/seiyak/hibernate-ogm. The project was forked from the original one and the modifications were applied on it following Emmanuel's advice on the previous mailing list. I put README.md in hibernate-ogm-voldemort directory, so please read it before typing 'mvn clean install'. Voldemort …
[View More]needs to be installed manually into the local maven repository as of the version 0.90.1.
According to the supplied tests, it looks fine. However, I need advice and suggestions to make it better,cleaner and right if there is something incorrect. I'll ask several questions that I got during the programming later.
Please let me know what you think of the code. If it's worth of a part of Hibernate OGM, I would like to contribute it.
Thank you
Seiya
[View Less]
13 years, 1 month
Indexing IDs of IndexedEmbedded components
by Sanne Grinovero
This is related to HSEARCH-1049: it seems that the new includePaths
feature is not accepting paths including the id of embedded objects,
as in:
@IndexedEmbedded(prefix="location.",includePaths={"city.id","city.city","country.id","city.region.id"})
public Address getAddress() { return address; }
As the "id" is a special field.
On the other hand, I remember people on forums [1] asking how to
*avoid* having to include the ids of embedded objects stored in the
index; I agree that often that's …
[View More]not needed, in fact I wasn't even
expecting it.
This seems to have been introduced by HSEARCH-108 - but it's not
possible to "turn it off".
What about having
@DocumentId( name = "id", includeEmbedded = true )
@ProvidedId( name = "id", includeEmbedded = true )
?
This would default to _true_ (also when no @DocumentId/Provided is
explicitly defined).
Getting back to the issue about
@IndexedEmbedded(includePaths={"city.id"}), the validation should be
accepted only when it's included in it's embedded form.
[1] - sorry can't find the references - in addition to other users
this affected myself as well in the past.
[View Less]
13 years, 1 month