Re: Java heap space

2006-05-01 Thread Marcus Stratmann
Yonik Seeley wrote: Yes, on a delete operation. I'm not doing any commits until the end of all delete operations. I assume this is a delete-by-id and not a delete-by-query? They work very differently. Yes, all queries are delete-by-id. If you are first deleting so you can re-add a newer ve

Ruby bindings/SolRuby?

2006-05-01 Thread Brian Lucas
Is anyone working on Ruby bindings? I noticed a page called "SolRuby" on the wiki - what is this? I would like to make Solr work like a model in Rails if possible, but don't want to reinvent the wheel. Thanks, Brian

Re: Java heap space

2006-05-01 Thread Chris Hostetter
: > If you are first deleting so you can re-add a newer version of the : > document, you don't need too... overwriting older documents based on : > the uniqueKeyField is something Solr does for you! : : Yes, I know. But the articles in our (sql-)database get new IDs when : they are changed so they

Re: Java heap space

2006-05-01 Thread Marcus Stratmann
Chris Hostetter wrote: > this is off the subject of the heap space issue ... but if the id changes, > then maybe it shouldn't be the uniqueId of your index? .. your code must > have someone of recognizing that article B with id 222 is a changed > version of article A with id 111 (otherwise how woul

Adding xml to SolrQueryResponse

2006-05-01 Thread Mike Austin
Is there a way to add attributes besides name to an xml node returned from SolrQueryResponse? I've looked at the SolrQueryResponse.add and it looks like a NamedList is my only option. I know that I can get by with nodes that have only the name attribute but it would make life a little easier to t

Re: Adding xml to SolrQueryResponse

2006-05-01 Thread Yonik Seeley
On 5/1/06, Mike Austin <[EMAIL PROTECTED]> wrote: Is there a way to add attributes besides name to an xml node returned from SolrQueryResponse? I've looked at the SolrQueryResponse.add and it looks like a NamedList is my only option. I know that I can get by with nodes that have only the name at

Re: Adding xml to SolrQueryResponse

2006-05-01 Thread Chris Hostetter
: Is there a way to add attributes besides name to an xml node returned from : SolrQueryResponse? I've looked at the SolrQueryResponse.add and it looks : like a NamedList is my only option. I know that I can get by with nodes : that have only the name attribute but it would make life a little easi