Sponsored Content
Top Forums Programming Solr--Basic Example execution error Post 302912393 by Tomlight on Thursday 7th of August 2014 07:06:12 PM
Old 08-07-2014
Solr--Basic Example execution error

Hello ,

I am new bee to Solr and trying to run sample example for solr .

HTML Code:
 java -Durl=http://locahost:8983/solr/update -jar post.jar books.csv
Code:
Error 
 SimplePostTool version 1.5
 Posting files to base url http://locahost:8983/solr/update using content-type application/xml..
 POSTing file books.csv
 SimplePostTool: WARNING: Solr returned an error #404 Not Found
 SimplePostTool: WARNING: IOException while reading response: java.io.FileNotFoundException: http://locahost:8983/solr/update
 1 files indexed.
 COMMITting Solr index changes to http://locahost:8983/solr/update..
 SimplePostTool: WARNING: Solr returned an error #404 Not Found for url http://locahost:8983/solr/update?commit=true
 Time spent: 0:00:00.129

Not sure why its unable to contact host , I see that the URL is working fine too .

Last edited by Scrutinizer; 08-08-2014 at 05:36 AM.. Reason: code tags
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Basic Error

#!/bin/sh read a if ; then echo "ur good"; else echo "ur bad" exit fi I am getting the following error! /home/xyz/scripts >help.sh apple help.sh: [apple: not found. ur bad can i know what would be the wrong in my script (3 Replies)
Discussion started by: gkrishnag
3 Replies

2. UNIX for Dummies Questions & Answers

basic question about error report in AIX

Hello everybody, iam new to unix. here is a question i had. when i run errpt -a , sample out put is as follows LABEL: FCP_ARRAY_ERR4 IDENTIFIER: D5385D18 Date/Time: Mon Sep 25 11:15:59 Sequence Number: 182869 Machine Id: 000166784C00 Node Id: ... (0 Replies)
Discussion started by: karthikosu
0 Replies

3. Shell Programming and Scripting

error during the execution of script

Hi, I have a cron job which executes daily once 9 PM. The script is like if then TYPE=OC elif then TYPE=i elif then TYPE=mmc elif then TYPE=CB elif then TYPE=oth fi (1 Reply)
Discussion started by: surjyap
1 Replies

4. Ubuntu

Solr Documentation NEEDED | Solr 1.4 on Ubuntu 10.04 LTS

I have Solr 1.4 running on Tomcat6 installed in an Ubuntu 10.04 LTS openVZ container. I am looking for documentation on Solr. I need to know where Solr and Tomcat do their logging by default when installed from the standard Ubuntu apt repo. I would like to know more about both technologies but Solr... (0 Replies)
Discussion started by: Druonysus
0 Replies

5. Shell Programming and Scripting

Basic question on shell script execution

I have two shell scripts in the different directories listed below, /root/dev/dir1/test.sh /root/dev/dir2/master.sh I am executing the master.sh script from the test.sh like below and getting 'Permission denied' error. #! /bin/sh #test.sh path='/root/dev' $path/dir2/master.sh But it... (2 Replies)
Discussion started by: vel4ever
2 Replies

6. UNIX for Dummies Questions & Answers

Execution Error!

I am having output in this format.. -rw-r--r-- 1 root root 20 Jan 01 14:32 abc.txt -rw-r--r-- 1 root root 40 Jan 01 14:32 abcd.txt -rw-r--r-- (9 Replies)
Discussion started by: bhargav456
9 Replies

7. Shell Programming and Scripting

Bash on Fedora error on basic script

I am not able to execute bash script on Fedora. They were running on another environment. This is a sample script: #!/usr/bin/bash input="./data/heu/hout1" i=1 j=0 while IFS= read -r file1 do #Some code here done < "$input" #echo $j I get an error: bash: s.sh: command not... (3 Replies)
Discussion started by: ngabrani
3 Replies
SOLRRESPONSE(3) 							 1							   SOLRRESPONSE(3)

The SolrResponse class

INTRODUCTION
Represents a response from the Solr server. CLASS SYNOPSIS
SolrResponse abstract SolrResponse Constants o const integer$SolrResponse::PARSE_SOLR_OBJ0 o const integer$SolrResponse::PARSE_SOLR_DOC1 Properties o protected integer$http_status o protected integer$parser_mode o protected bool$success o protected string$http_status_message o protected string$http_request_url o protected string$http_raw_request_headers o protected string$http_raw_request o protected string$http_raw_response_headers o protected string$http_raw_response o protected string$http_digested_response Methods o public string SolrResponse::getDigestedResponse (void ) o public int SolrResponse::getHttpStatus (void ) o public string SolrResponse::getHttpStatusMessage (void ) o public string SolrResponse::getRawRequest (void ) o public string SolrResponse::getRawRequestHeaders (void ) o public string SolrResponse::getRawResponse (void ) o public string SolrResponse::getRawResponseHeaders (void ) o public string SolrResponse::getRequestUrl (void ) o public SolrObject SolrResponse::getResponse (void ) o public bool SolrResponse::setParseMode ([int $parser_mode]) o public bool SolrResponse::success (void ) PROPERTIES
o $http_status -The http status of the response. o $parser_mode -Whether to parse the solr documents as SolrObject or SolrDocument instances. o $success -Was there an error during the request o $http_status_message -Detailed message on http status o $http_request_url -The request URL o $http_raw_request_headers -A string of raw headers sent during the request. o $http_raw_request -The raw request sent to the server o $http_raw_response_headers -Response headers from the Solr server. o $http_raw_response -The response message from the server. o $http_digested_response -The response in PHP serialized format. PREDEFINED CONSTANTS
SOLRRESPONSE CLASS CONSTANTS
o SolrResponse::PARSE_SOLR_OBJ -Documents should be parsed as SolrObject instances o SolrResponse::PARSE_SOLR_DOC -Documents should be parsed as SolrDocument instances. PHP Documentation Group SOLRRESPONSE(3)
All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy