Git Product home page Git Product logo

Comments (5)

shaksi avatar shaksi commented on September 24, 2024

The reason solr wont start when used in multicore environment is because it does not contain the right config files whilst the single instance does so.

To resolve this issue I would copy over solr/conf/*.txt files to the core0/conf folder, reason being our schema files makes use of few of the txt files defined by default in the single instance.
Once you have copied those file over, the server should start as normal.

Regarding the ping, thats another issue and has more to do with the solrconfig.xml within the conf folder, in a single instance the PingRequestHandler is defined under /admin/ping but in multicore instances it is not defined so.

To resolve the issue add this to your solrconfig.xml inside the <config> section

      <requestHandler name="/admin/ping" class="PingRequestHandler">
               <lst name="defaults">
                 <str name="qt">standard</str>
                 <str name="q">solrpingquery</str>
                 <str name="echoParams">all</str>
               </lst>
      </requestHandler>

Hope that helps.

from solr-for-wordpress.

dustinrue avatar dustinrue commented on September 24, 2024

You should check your logs, the schema might not work with 3.5 and is causing Solr to not start that instance.

from solr-for-wordpress.

mattweber avatar mattweber commented on September 24, 2024

shaksi is correct, copy the txt files from the non-multicore example, setup the ping request handler and everything works fine.

from solr-for-wordpress.

fujipadam avatar fujipadam commented on September 24, 2024
  1. the Multicore issue was fixed by moving the *.txt files as Shaskhi suggested Thanks :)
  2. still having the ping failed issue. I moved to single core and still had the issue and then even moved to Solr 1.4 and Ping still fails (I am able to ping successfully using my browser) and the search comes up as unavailable.

from solr-for-wordpress.

 avatar commented on September 24, 2024

I'm getting this error: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text": Plugin init failure for [schema.xml] analyzer/filter: Error loading class 'solr.EnglishPorterFilterFactory'

Will shaksi's solutions fix this issue?

If so, what is the full path of this: " copy over solr/conf/*.txt files "

Is it: solr/example/solr/collection1/conf ??

from solr-for-wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.