-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search in desktop application
PostPosted: Thu Sep 10, 2015 8:54 am 
Beginner
Beginner

Joined: Sat Feb 16, 2008 3:09 pm
Posts: 24
Hello I have a (JSE) desktop application. A number of instances connect to the same database.
The user wants a full text search (over many db fields).
Is it practicable to use Hibernate search for this? I would have to build the indexes at every startup. And of course update of one user would not be visible in the indexes of another user during runtime (I think this would be only a minor problem). Is it possible to store the indexe in the database itself? Would that harm performance?


Top
 Profile  
 
 Post subject: Re: Hibernate Search in desktop application
PostPosted: Mon Sep 14, 2015 3:12 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi,

One option e.g. would be to use the JMS backend which will route all index updates from all your clients to a single master that does the actual index write. Then use the directory implementation which copies index data regularly to slaves (filesystem-master/filesystem slave) or the Infinispan directory implementation which will make index changes instantly visible to all nodes.

Take a look at the sections "worker configuration" (https://docs.jboss.org/hibernate/search/5.5/reference/en-US/html_single/#configuration-worker) and "directory configuration (https://docs.jboss.org/hibernate/search/5.5/reference/en-US/html_single/#search-configuration-directory) in the reference guide.

Hth,

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.