-->
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: Elastic Search Partial Update with Hibernate Search
PostPosted: Sat Sep 23, 2017 4:03 am 
Newbie

Joined: Fri Sep 22, 2017 7:08 pm
Posts: 1
I'm trying to execute partial updates in Elastic Search using Hibernate Search. I have checked the requests to Elastic Search created by Hibernate Search and they update the whole document.

I need this requirement because my documents contain a field with the contents of a file, this field is only filled in the creation of the document and it never changes. Extracting the content of the file is quite expensive because requires some decryption and processing by Apache Tika. On the other hand, the other fields change very often.

Code:
Attachment (class)
    Name (field) 
    Content (field) - it never changes and expensive to extract       
    Folder (field) - it changes very often
    Status (field) - it changes very often


Is it possible to execute Elastic Search partial updates with Hibernate Search or there is any other way of solving this problem? Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Elastic Search Partial Update with Hibernate Search
PostPosted: Mon Oct 02, 2017 2:16 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Miguel,

sorry no the partial updates feature of Elaticsearch is not supported yet. We plan to have this in Hibernate Search 6, but it's going to take a while as this requires some significant changes in how all input data is processed.

sorry :)

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Elastic Search Partial Update with Hibernate Search
PostPosted: Tue Oct 03, 2017 3:43 am 
Hibernate Team
Hibernate Team

Joined: Thu Aug 17, 2017 2:51 am
Posts: 3
Hi Miguel,

Yes, as I commented on Stackoverflow, there is no way to do this right now.

If you wish to watch progress on this topic, here is the ticket: https://hibernate.atlassian.net/browse/HSEARCH-2888


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.