Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7706233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:04:29+00:00 2026-06-01T00:04:29+00:00

I am using the NHibernate.Search assembly and am looking for best practices around using

  • 0

I am using the NHibernate.Search assembly and am looking for best practices around using this with multiple web servers.

We have plenty of space on our web servers to handle the indexes we are generating, so I am thinking the best route is to have the indexes on each web server. Then the classes that I am indexing, add a version column. My only question is if I do this, will NHibernate.Search be smart enough to pull the latest record and index it if let’s say Web Server A updated the record and Web Server B’s index is out of date?

The other option is to store the indexes on a shared file location and pull from that network resource. This seems like a less-than-ideal solution as it does not allow for great redundancy.

How are others solving this problem with NHibernate.Search and/or Lucene.NET indexes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:04:30+00:00Added an answer on June 1, 2026 at 12:04 am

    The very moment you decided to put your indexes in different machines you introduced the “distributed search” problem. Things like replication, redundancy, management, monitoring, search aggregation become important and interesting problems you need to address.

    That said, Solr is one of the recommended solutions to the problem. More over, SolrNet can help you integrate it with Nhibernate.

    I’ve used both projects in combination with Nhibernate and it may be a little confusing at the beginning but it pays off later on.

    In your case, you could potentially run Solr in your web servers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using NHibernate Search for NHibernate 3.0 GA. I have this code in my
What is the best way trying to get a text search function using nhibernate?
I'm am using NHibernate.Search and Lucene.Net . I will ask if anyone have experienced
I have integrated NHibernate.Search into my web app by following tutorials from the following
We have a DAL that we're using with NHibernate.Search , so classes that need
I have a search query that is dynamically compiled using NHibernate's criteria query mechanism.
I'm trying using NHibernate.Search to get Lucene.NET Score through projections. My domain object implements
Using NHibernate.Mapping.Attributes, I have a entity class with something like: [Class] public class EntityA
Using NHibernate, what is the best way to handle InsertDate (a.k.a CreateDate) and UpdateDate
I am trying to integrate NHibernate.Search into a multi-lingual website. Now, this website contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.