-->
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: JMS master server directly writing indexes
PostPosted: Thu Apr 22, 2010 3:57 am 
Regular
Regular

Joined: Mon Mar 10, 2008 6:40 pm
Posts: 114
In migrating from Hibernate Search 3.1.1 to 3.2CR1, the master server will just do a loop with all JMS messages if the backend, connection_factory, queue and backend are configured as with a slave indexing server. It reads a JMS message with indexing operations and then sends a JMS indexing operation message right back.

So my question is how should a master indexing server write indexes directly? Or can it? I want to be able to tell the indexing server to index a specified number of entities directly. If I don't configure any of the above properties, will it properly write the indexes?


Top
 Profile  
 
 Post subject: Re: JMS master server directly writing indexes
PostPosted: Thu Apr 22, 2010 4:26 am 
Pro
Pro

Joined: Wed Oct 03, 2007 2:31 pm
Posts: 205
I'm sorry I don't think I understand the question. Have you read the reference documentation of the master slave configuration? Or Hibernate Search in Action? The master index process is soley responsible for updating the indexed. Slave nodes make requests for updates via JMS.

Quote:
I want to be able to tell the indexing server to index a specified number of entities directly


What do you mean by this?


Top
 Profile  
 
 Post subject: Re: JMS master server directly writing indexes
PostPosted: Thu Apr 22, 2010 7:52 pm 
Regular
Regular

Joined: Mon Mar 10, 2008 6:40 pm
Posts: 114
Basically I want to use my master indexing server for 2 purposes:
    Read from the Hibernate Search JMS queue to write the master index
    Manually index specified entities when I specify to do so over the web interface

Is this possible? What's the proper settings for the connection_factory, queue, execution and backend?


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.