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

  • Home
  • SEARCH
  • 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 3950994
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:40:37+00:00 2026-05-20T01:40:37+00:00

I have a Ubuntu setup with Luciene, Solr and a Rails application. I use

  • 0

I have a Ubuntu setup with Luciene, Solr and a Rails application. I use Solr for indexing and searching data from the Rails application. This works fine, except sometimes.

I get this execption:

 Net::HTTPFatalError (500 "org/apache/lucene/index/memory/MemoryIndex  java.lang.NoClassDefFoundError:
  org/apache/lucene/index/memory/MemoryIndex
  org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getReaderForField(WeightedSpanTermExtractor.java:361)
  org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extractWeightedSpanTerms(WeightedSpanTermExtractor.java:282)
  org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:149)
  org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getWeightedSpanTerms(WeightedSpanTermExtractor.java:414)
  org.apache.lucene.search.highlight.QueryScorer.initExtractor(QueryScorer.java:216)
  org.apache.lucene.search.highlight.QueryScorer.init(QueryScorer.java:184)
  org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:226)
  org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:335)
  org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:89)
  org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195)
  org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
  org.apache.solr.core.SolrCore.execute(SolrCore.java:1317)
  org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
  org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
  org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
  org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
  org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
  org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
  org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
  org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) org.mor"):
   /usr/local/ruby/1.9.2-rc2/lib/ruby/1.9.1/net/http.rb:2295:in `error!'

I search for this and found, that I need the lucene-memory.jar, but this is set up on my server:

 $ locate lucene-memory
 /usr/share/java/lucene-memory-2.9.2.jar
 /usr/share/java/lucene-memory.jar

I don’t know why?!?

  • 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-05-20T01:40:37+00:00Added an answer on May 20, 2026 at 1:40 am

    Try to put that jar to:

    solr\VERSION\lib\

    where VERSION might be 1.4.1 or whatever you have. The reason for that is to load that jar in a explicit way from solr.

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

Sidebar

Related Questions

My setup: Ubuntu LAMP, application built w/ zend framework My Problem: I have a
I have a (from what I can tell) perfectly working Linux setup (Ubuntu 8.04)
I have my moodle setup using this guide ( Ubuntu 11.04 ) http://docs.moodle.org/dev/Install_Moodle_On_Ubuntu_with_Nginx/PHP-fpm I
I have setup an Ubuntu LAMP server, and I have had phpmyadmin working fine
This is my application setup. I have written an application (in Qt ) which
I have a Ubuntu server(11.10) and use mod_passenger for Redmine. It works pretty well,
Our setup as follows: We have a local development server running Ubuntu, with a
I have netbeans 6.8 with java ME platform setup on my ubuntu 9.10. My
I have an Ubuntu Server (with all of LAMP and Subversion installed). I use
I have a cron job on an Ubuntu Hardy VPS that only half works

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.