-->
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.  [ 1 post ] 
Author Message
 Post subject: Using includePaths "breaks" containedIn
PostPosted: Fri Feb 14, 2014 7:57 am 
Newbie

Joined: Fri Feb 14, 2014 6:12 am
Posts: 1
I am using hibernate search 4.5.0.
I am trying to optimise my indexing by reducing the amount of data indexed by using
Code:
@IndexedEmbedded(depth = 0, includePaths = {"id", "name"})


when only specific fields are required. Having implemented this in a few places, I find that @ContainedIn on the associated entity no longer updates the index of the parent entity. I have to increase the IndexedEmbedded depth to reach the association which defeats the purpose - because now it indexes all the fields which I was trying to avoid.

Do I not understand what includePaths is supposed to do, or is this a bug?

I have posted a fuller description at
http://stackoverflow.com/questions/21777710/using-containedin-and-includepaths


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

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.