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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:27:47+00:00 2026-06-18T03:27:47+00:00

I’m using lucene version 4.0.0 and compass 2.2.0 to store lucene index in Mysql.

  • 0

I’m using lucene version 4.0.0 and compass 2.2.0 to store lucene index in Mysql.

Am getting the following error and am stuck with that.

Exception in thread “main” java.lang.NoSuchMethodError: org.apache.lucene.store.IndexInput: method ()V not found

And also can you tell me which will perform better.
Storing index in FS or DB?

  • 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-18T03:27:48+00:00Added an answer on June 18, 2026 at 3:27 am

    Lucene 4.0 involves significant changes in the API, which Compass undoubtedly does not support. Development stopped on Compass over two years ago.

    The project has effectively been replaced by ElasticSearch, as the creator of Compass explains in this blog post. You should look into using ElasticSearch instead.

    As far as storing the index, store it in the file system. As far as I can tell, the DB storage feature from Compass hasn’t been brought into ElasticSearch. Frankly, it seems like a bit of a strange feature, and I can only assume it would involve a hit to performance, though I haven’t found any resources clearly addressing that. I would recommend not trying to store an index in your database unless you have a good reason why you really need to.

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

Sidebar

Related Questions

I am seeing the following error when trying to search using Lucene. (version 1.4.3).
Firstly, I must say that the version of Lucene.NET we are using is not
I have a single XML file that I want to index using Lucene.NET. The
I am using Lucene.Net + custom crawler + Ifilter so that I can index
I have some code using Lucene that leaves the default conjunction operator as OR,
I'm using Lucene, and I'm trying to find a way to index and retrieve
I am calling Lucene using the following code (PyLucene, to be precise): analyzer =
We are using Lucene version 3.6.0 in our project. Now we decided to start
I'm using Lucene.net 3.0.3.0 (the latest version right now). I would like to know
I create (and update frequently) the index of users using following code (a bit

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.