-->
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: Can multiple Lucene index be used in single web application?
PostPosted: Fri Aug 30, 2013 10:00 am 
Newbie

Joined: Thu Aug 01, 2013 2:21 am
Posts: 4
Hi there,

We have a huge database and the lucene index is going to be a huge one, so in order to optimize the index we were thinking if we can partition the index logically.

We know we can do this through Sharding but we were trying to find a way wherein I can redirect the user request logically through my web application to a particular index location out of multiple index locations rather than having one very large index which will then compromise speed.

Is this even possible?


Top
 Profile  
 
 Post subject: Re: Can multiple Lucene index be used in single web application?
PostPosted: Fri Aug 30, 2013 12:19 pm 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 295
These are some resources that should help you with your issue:
Hibernate Search Documentation (Chapter 10.4): http://docs.jboss.org/hibernate/search/4.4/reference/en-US/html/search-lucene-native.html#search-configuration-directory-sharding
Very simple IndexShardingStrategy example: https://github.com/hibernate/hibernate-search/blob/master/orm/src/test/java/org/hibernate/search/test/shards/CustomerShardingStrategy.java?source=cc

Does this reply to your question?


Top
 Profile  
 
 Post subject: Re: Can multiple Lucene index be used in single web application?
PostPosted: Mon Sep 02, 2013 7:19 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
This might be of interest as well:
http://docs.jboss.org/hibernate/search/4.4/reference/en-US/html/search-query.html#query-filter-shard

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


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.