Do I need solr.xml?

2013-07-24 Thread Brian Robinson
Hello, I'm trying to get Solr 4.4 up and running. I only want a single core (for now). I'm running this with Tomcat on Apache. I have a couple of different issues, which may be resolved by including a properly written solr.xml file. First, when I navigate to http://{myhost}:8080/solr/ I get

Re: Do I need solr.xml?

2013-07-24 Thread Brian Robinson
I'd say you can work on this step and not bother with next steps until you get this one going. The main question would be where did your apache+solr setup came from? Was it working with earlier versions of Solr and you upgraded? Was it some automatic install? Something else. It was installed by

Re: Do I need solr.xml?

2013-07-25 Thread Brian Robinson
if you get an error on the admin UI, there should be specifics about *what* the initialization failure is -- at last one sentence, and there should be a full stack trace in the logs -- having those details will help understand the root of your first problem, which may explain your second problem

Re: Do I need solr.xml?

2013-07-25 Thread Brian Robinson
Great, this guidance is definitely pointing me in the right direction. Thanks Shawn, Erick, and Hoss. I'll pursue this some more and see if I can get it working. Brian

conflicting field options

2013-08-20 Thread Brian Robinson
Hello, I'm having problems with getting my core setup, I think. I just have the collection1 core, or at least that's my intent, at /etc/solr/collection1/. When I go to the solr/admin/ page in my browser, I get the following error message: SolrCore 'collection1' is not available due to init fa

Can't get Solr to run with DataImportHandler

2013-08-29 Thread Brian Robinson
Hello, I've been trying to get Solr to run with DataImportHandler. I've found various issues and fixed them, but I'm still getting an error message, and I can't find anything else to fix. Could someone please take a look at my setup to see if I've done something wrong? When I go to the Solr ad

Re: Can't get Solr to run with DataImportHandler

2013-08-29 Thread Brian Robinson
Thanks! It looks like I have several of those, I'll check those out. Brian Robinson Head of Development Social Surge Media, Inc. 773.701.3194 On 8/29/2013 10:02 AM, Jack Krupansky wrote: "init failure" usually means you had a bad configuration parameter. You need to look for the

Re: Can't get Solr to run with DataImportHandler

2013-08-29 Thread Brian Robinson
quot; in the stack trace and that should tell you what the parameter problem was. -- Jack Krupansky -Original Message- From: Brian Robinson Sent: Thursday, August 29, 2013 10:43 AM To: solr-user@lucene.apache.org Subject: Can't get Solr to run with DataImportHandler Hello, I&#x

Unknown attribute id in add:allowDups

2013-09-06 Thread Brian Robinson
Hello, I'm working with the Pecl package, with Solr 4.3.1. I have a doc defined in my schema where id is the uniqueKey, multiValued="false" /> id I tried to add a doc to my index with the following code (simplified for the question): $client = new SolrClient($options); $doc = new SolrInput

Do I need to delete my index?

2013-09-11 Thread Brian Robinson
Hello, I'm in the process of creating my index using a series of SolrClient::request commands in PHP. I ran into a problem when some of the fields that I had as "text_general" fieldType contained "&load=" in a URL, triggering an error because the HTML entity "load" wasn't recognized. I realize

Re: Do I need to delete my index?

2013-09-11 Thread Brian Robinson
In addition, if I do need to delete my index, how do I go about that? I've been looking through the documentation and can't find anything specific. I know where the index is, I'm just not sure which files to delete. Hello, I'm in the process of creating my index using a series of SolrClient:

Re: Do I need to delete my index?

2013-09-11 Thread Brian Robinson
Thanks Shawn. I had actually tried changing &load= to &load=, but still got the error. It sounds like addDocuments is worth a try, though. On 9/11/2013 4:37 PM, Shawn Heisey wrote: On 9/11/2013 2:17 PM, Brian Robinson wrote: I'm in the process of creating my index using a series

Re: Do I need to delete my index?

2013-09-11 Thread Brian Robinson
Thanks Erick On 9/11/2013 6:46 PM, Erick Erickson wrote: Typically I'll just delete the entire data dir recursively after shutting down Solr, the default location is /solr/collectionblah/data On Wed, Sep 11, 2013 at 6:01 PM, Brian Robinson wrote: Thanks Shawn. I had actually tried cha

Filter execution threw an exception

2013-10-03 Thread Brian Robinson
Hello, I'm using PHP Pecl to create my index, and am getting an error that I can't figure out. I've pared my code down to the below. I've verified that the database query is pulling in data correctly, and the $solrDocs array has the expected number of items, but I'm getting an error thrown by

Re: Filter execution threw an exception

2013-10-03 Thread Brian Robinson
Sorry, I'll get that information and start a new thread. On 10/3/2013 4:50 PM, Shawn Heisey wrote: On 10/3/2013 3:12 PM, Brian Robinson wrote: I'm using PHP Pecl to create my index, and am getting an error that I can't figure out. I've pared my code down to the below. I&

Got error: Filter execution threw an exception

2013-10-03 Thread Brian Robinson
Hello, Starting a new thread on this problem... I'm using PHP Pecl to create my index, and am getting an error that I can't figure out. I'm using Solr version 4.3.1. I know I'm supposed to provide the log errors, but strangely, I checked solr.log in the apache-tomcat/logs/ directory, and the

Re: Got error: Filter execution threw an exception

2013-10-03 Thread Brian Robinson
rror, but both addDocuments and addDocument produce the error. On 10/3/2013 7:02 PM, Brian Robinson wrote: Hello, Starting a new thread on this problem... I'm using PHP Pecl to create my index, and am getting an error that I can't figure out. I'm using Solr version 4.3.1. I know I

Re: Got error: Filter execution threw an exception

2013-10-03 Thread Brian Robinson
7;, $prod_row['brandName']); $doc->addField('description', $prod_row['description']); $tmpUpdate = $prod_row['lastUpdate']."T00:00:00Z"; $doc->addField('lastUpdate', $tmpUpdate); $solrDocs[] = $doc; }

Re: Got error: Filter execution threw an exception

2013-10-03 Thread Brian Robinson
Also, if it sheds any light, before this error started appearing, I was running into some OOM errors with PHP. Before that, I had reloaded Solr a couple of times, since I updated schema.xml. All I did in schema.xml was remove some fields, though. On 10/3/2013 9:03 PM, Brian Robinson wrote

Re: Got error: Filter execution threw an exception

2013-10-04 Thread Brian Robinson
M, Shawn Heisey wrote: On 10/3/2013 8:03 PM, Brian Robinson wrote: Hi Shawn, Thanks for responding. Just saw this email. I did go to the logging tab in the admin page, but it never finished loading. I'm using collection1, and I'm using the traditional config. Here is my complete code,

Re: Got error: Filter execution threw an exception

2013-10-04 Thread Brian Robinson
It ended up that I just needed to restart Tomcat. Once you mentioned the logging, it sounded like something somewhere just got stuck, so rebooting took care of it. I should have just done that in the first place. Brian On 10/4/2013 1:43 AM, Shawn Heisey wrote: On 10/3/2013 8:03 PM, Brian