-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: probem with @IndexedEmbedded on a Collection
PostPosted: Thu Jan 24, 2008 7:27 am 
Newbie

Joined: Tue Nov 13, 2007 1:09 pm
Posts: 7
i have two classes as below (iam using hibernate search)
@Indexed
Class A
{

@DocumentId
int id;
@Field(index=Index.TOKENIZED,store=Store.NO)
String aname;
.......
@IndexedEmbedded(depth = 1)
private Set<B> bset = new HashSet<B>(0);

}

class B
{
@DocumentId
int id;
@Field(index=Index.TOKENIZED,store=Store.NO)
String bname
.......
@ContainedIn
private A a;


}

When iam updating /inserting / deleting the entity A it is correctly reflected in the Lucene Index but
where as when iam updating /inserting/deleting entity B it is not reflected in the Lucene Index as the
result i could not able to search with values that contained in B.bname.

Can any one please show me the direction in which i have to proceed to reflect the insert/update/delete of class B in the lucene index?

--rama


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 12:20 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You are hitting
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-142

I plan to resolve that soon as there is no theoretical problem, but it might not make i in 3.0.1, we will see :)

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 2:22 am 
Newbie

Joined: Tue Nov 13, 2007 1:09 pm
Posts: 7
Thanks Emmanuel.
For now I have used other alternatives to achieve the same effect.

regards
rama


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.