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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:07:08+00:00 2026-05-28T11:07:08+00:00

I have a question. SolrphpClient is not working with multicore. I have two cores

  • 0

I have a question. SolrphpClient is not working with multicore.

I have two cores in my solr say core1 and core2.
While creating object of SolrPhpClient I am using the following syntax.

$solr = new Apache_Solr_Service(‘192.168.12.226’, ‘8983’, ‘solr/core1/’ );

It’s giving a fatal error…

Fatal error: Uncaught exception ‘Exception’ with message ‘”500″ Status: null_javalangNullPointerException_at_javaioStringReaderinitStringReaderjava50__at_orgapachelucenequeryParserQue’ in C:\xampp\htdocs\solrsite\SolrPhpClient\Apache\Solr\Service.php:334 Stack trace: #0 C:\xampp\htdocs\solrsite\SolrPhpClient\Apache\Solr\Service.php(964): Apache_Solr_Service->_sendRawGet(‘http://192.168….’) #1 C:\xampp\htdocs\solrsite\script\productlist.php(403): Apache_Solr_Service->search(NULL, 0, 15, Array) #2 C:\xampp\htdocs\solrsite\index.php(510): include_once(‘C:\xampp\htdocs…’) #3 {main} thrown in C:\xampp\htdocs\solrsite\SolrPhpClient\Apache\Solr\Service.php on line 334

Solr is working fine in admin part.

Any help will be appreciated.

  • 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-28T11:07:09+00:00Added an answer on May 28, 2026 at 11:07 am

    Based on your url that you provided:

     http://192.168.12.226:8983/solr/core1/select?fl=ST_StockCode%2CST_ItemCategory%2CST_Stone1%2CST_Stone2%2CST_LowPrice%2CST_WebPrice
    %2CST_Name%2CST_ArticleType%2CST_MetalType%2CST_HighPrice%2CST_ImageFileName%2Cis_clearance%2CGroupName
    %2CFreePnp%2CST_ItemSize%2CST_MarketPrice&sort=ST_Name+desc&version=1.2&wt=json&json.nl=map&start=0&rows=1
    

    It does not look like you are providing an actual query q= value in your request. I would guess that is the reason for the error… I would suggest that you start with setting the SolrPhpClient so that is passes q=*:* to start with.

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

Sidebar

Related Questions

i have question about two different Bundle object in below methods : onSaveInstanceState(Bundle outState);
I am working in asp.net MVC2 application and I have question related to design
I have question about global variable in Objective-C. I have two .m files :
I would have question regarding web services. Let's say I have webservice client that
I have question quite much related to this one I asked a while ago
I have question about NSView: Imagine a Custom View where the mouseDown, mouseDrag and
I have question regarding the SQLAlchemy. How can I add into my mapped class
I have question regarding the use of function parameters. In the past I have
I have question concerning a function I created. I would like to show the
I have question related to what is done in SMS application is if i'm

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.