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 8240645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:33:29+00:00 2026-06-07T20:33:29+00:00

I am doing a POC on Search using Lucene.NET. I fire a stored procedure

  • 0

I am doing a POC on Search using Lucene.NET.

I fire a stored procedure which fetches around 50000 records from the database.
Thses records I put in the Lucene Index.

Now when the records in database changes, how to update the Lucene index.
Deleting the entire previous indexed and creating a new one will take a lot of time.

I want to append the new records from the database to the existing index.

How can I achieve this.
Any ideas ???

Thanks,
Aneesh

  • 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-07T20:33:32+00:00Added an answer on June 7, 2026 at 8:33 pm

    Just use lucene AddDocument method, something like this :

    IndexWriter iw = new IndexWriter(folder, GetAnalyzer(), false);
      try
      {
        Document luceneDoc = new Document();
        /// add fields to the lucene document
        iw.AddDocument(luceneDoc);
      }
      finally
      {
        iw.Close();
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Team, I am doing a technical poc for reading records from a flat file
Doing a search using django-sphinx gives me results._sphinx that says there were 68 results,
I have doing some POC in Ruby-on-Rails and using sqlite database, while doing this
I'm doing a POC to push Data from a (Java) server, though LCDS 3.1
hi m using a web service. i m doing for a POC. here is
I am using IBM ilog jrules 7.1 trial for doing a POC.I am using
I am doing a simple POC of andengine Scene handling. I have written a
Doing an ajax get request works as expected using the following code: $.ajax({ type:
Doing something like this: from zipfile import ZipFile #open zip file zipfile = ZipFile('Photo.zip')
I am doing POC for one of my performance projects , Currently it is

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.