Searching for empty fields

2008-05-06 Thread Daniel Andersson
Hi (again) One of the fields in my database is color. It can either contain a value (blue, red etc) or be blank. When I perform a search with facet counts on, I get a count for "_empty_". How do I go about searching for this? I've tried color:"" which gives me an error. Same with color:.

Re: Help optimizing

2008-05-06 Thread Daniel Andersson
On May 6, 2008, at 7:26 PM, Lance Norskog wrote: One cause of out-of-memory is multiple simultaneous requests. If you limit the query stream to one or two simultaneous requests, you might fix this. No, Solr does not have an option for this. The servlet containers have controls for this that

Re: Help optimizing

2008-05-06 Thread Daniel Andersson
On May 6, 2008, at 2:19 PM, Grant Ingersoll wrote: On May 3, 2008, at 1:06 PM, Daniel Andersson wrote: When performing a search, the results vary between 1.5 seconds up to 60 seconds. Is this pure Solr time or overall application time? I ask, b/c it is often the case that people are

Re: Help optimizing

2008-05-06 Thread Daniel Andersson
On May 6, 2008, at 4:00 AM, Mike Klaas wrote: On 3-May-08, at 10:06 AM, Daniel Andersson wrote: How do I optimize Solr to better use all the RAM? I'm using java6, 64bit version, and start Solr using: java -Xmx7500M -Xms4096M -jar start.jar But according to top it only seems to be

Re: Help optimizing

2008-05-06 Thread Daniel Andersson
Thanks Otis! On May 4, 2008, at 4:32 AM, Otis Gospodnetic wrote: You have a lot of fields of type text, but a number of field sound like they really need not be tokenized and should thus be of type string. I've changed quite a few of them over to string. Still not sure about the differe

Help optimizing

2008-05-03 Thread Daniel Andersson
Hi (again) people We've now invested in a server with 8 GB of RAM after too many OutOfMemory-errors. Our database/index is 3.5 GB and contains 4,352,471 documents. Most documents are less than 1 kb. When performing a search, the results vary between 1.5 seconds up to 60 seconds. I don't

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
On Mar 5, 2008, at 11:08 PM, Chris Hostetter wrote: It's ".000" not ":00" ... "2008-02-12T15:02:06.000Z" but like i said: that stack trace is odd, the time doesn't seem like it actually comes from any query params, it looks like it's coming from a previously indexed doc. To work arround th

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
On Mar 5, 2008, at 10:57 PM, Chris Hostetter wrote: : looking at the current code for DateField.toObject(Fieldable) it seems : inheriently broken, attempting to parse a string right after concating 'Z' : on the end even though the parser expects the Z to already be gone -- i'm : not sure ho

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
On Mar 5, 2008, at 10:46 PM, Chris Hostetter wrote: : According to the schema.xml-file "The format for this date field is of the : form 1995-12-31T23:59:59Z". : : Yet I'm getting the following error on SOME queries: : : Mar 5, 2008 10:32:53 AM org.apache.solr.common.SolrException log : SEVERE:

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
e, IT Manager DollarDays International, LLC [EMAIL PROTECTED] 480-922-8155 x106 Daniel Andersson wrote: Hi people I've got a date(&time] indexed with every document, defined as: multiValued="false" /> According to the schema.xml-file "The format for this date field is of

Unparseable date

2008-03-05 Thread Daniel Andersson
Hi people I've got a date(&time] indexed with every document, defined as: multiValued="false" /> According to the schema.xml-file "The format for this date field is of the form 1995-12-31T23:59:59Z". Yet I'm getting the following error on SOME queries: Mar 5, 2008 10:32:53 AM org.apache.so

Re: SolrPhpClient with example jetty

2008-01-25 Thread Daniel Andersson
I'm trying to add documents using the SolrPhpClient (if there's a specific mailinglist for it, please let me know and I'll ask there instead). I've searched the net for "missing content stream", but found nothing that makes sense. I have now (finally) found the solution! If I change the

Re: SolrPhpClient with example jetty

2008-01-22 Thread Daniel Andersson
On Jan 23, 2008, at 12:47 AM, Brian Whitman wrote: $document->title = 'Some Title'; $document->content = 'Some content for this wonderful document. Blah blah blah.'; did you change the schema? There's no title or content field in the default example schema. But I believe solr d

SolrPhpClient with example jetty

2008-01-22 Thread Daniel Andersson
Hi (again) I'm trying to add documents using the SolrPhpClient (if there's a specific mailinglist for it, please let me know and I'll ask there instead). I've searched the net for "missing content stream", but found nothing that makes sense. This is what solr spits out when I run the ex

Re: Newbie with Java + typo

2008-01-21 Thread Daniel Andersson
On Jan 21, 2008, at 4:53 PM, Michael Kimsal wrote: As a fellow 'non-java' person I feel your pain (well, felt it anyway). A lot depends on your load and the machine, but I successfully ran the stock jetty system on a box last summer for work and didn't have performance problems. Perf

Re: Newbie with Java + typo

2008-01-21 Thread Daniel Andersson
On Jan 21, 2008, at 5:00 PM, Ryan McKinley wrote: Daniel Andersson wrote: Hi people First the typo on http://wiki.apache.org/solr/mySolr: "Production Typically it's not recommended do have your front end" it should probably be "..recommended To have.." you can e

Newbie with Java + typo

2008-01-21 Thread Daniel Andersson
Hi people First the typo on http://wiki.apache.org/solr/mySolr: "Production Typically it's not recommended do have your front end" it should probably be "..recommended To have.." Second, I don't know much about Java, nor about Jetty/Resin/JBoss/ Tomcat. I went through the tutorial and was im