Re: Updating fields in an existing document

2011-07-25 Thread Chris Hostetter
: As in http://wiki.apache.org/solr/UpdateXmlMessages? Exactly ... the title is "XML Messages for Updating a Solr Index" But i do see some confusing usages of "add/update" in the context of documents that definitely don't belong there -- so i've changed them to "add/replace". Thanks for bring

Re: Updating fields in an existing document

2011-07-25 Thread Grant Ingersoll
> From: Benson Margulies [bimargul...@gmail.com] > Sent: Wednesday, July 20, 2011 6:05 PM > To: solr-user > Subject: Updating fields in an existing document > > We find ourselves in the following quandry: > > At initial index time, we st

Re: Updating fields in an existing document

2011-07-25 Thread Benson Margulies
As in http://wiki.apache.org/solr/UpdateXmlMessages? On Mon, Jul 25, 2011 at 4:10 PM, Chris Hostetter wrote: > : A followup. The wiki has a whole discussion of the 'update' XML > : message. But solrj has nothing like it. Does that really exist? Is > : there a reason to use it? If I just 'add' the

Re: Updating fields in an existing document

2011-07-25 Thread Chris Hostetter
: A followup. The wiki has a whole discussion of the 'update' XML : message. But solrj has nothing like it. Does that really exist? Is : there a reason to use it? If I just 'add' the document a second time, : it will replace? You should only see "update" in Solr docs used in the context of "updat

Re: Updating fields in an existing document

2011-07-22 Thread Marc SCHNEIDER
have > many of them at once it could be, or if you end up needing to very > frequently commit to an index it can indeed cause problems. > > > > From: Benson Margulies [bimargul...@gmail.com] > > Sent: Wednesday, July 20, 2011 6:05

Re: Updating fields in an existing document

2011-07-21 Thread Benson Margulies
m: Benson Margulies [bimargul...@gmail.com] > Sent: Wednesday, July 20, 2011 6:05 PM > To: solr-user > Subject: Updating fields in an existing document > > We find ourselves in the following quandry: > > At initial index time, we store a value in a field, and we use it for > face

RE: Updating fields in an existing document

2011-07-20 Thread Jonathan Rochkind
: Wednesday, July 20, 2011 6:05 PM To: solr-user Subject: Updating fields in an existing document We find ourselves in the following quandry: At initial index time, we store a value in a field, and we use it for facetting. So it, seemingly, has to be there as a field. However, from time to time, so

Updating fields in an existing document

2011-07-20 Thread Benson Margulies
We find ourselves in the following quandry: At initial index time, we store a value in a field, and we use it for facetting. So it, seemingly, has to be there as a field. However, from time to time, something happens that causes us to want to change this value. As far as we know, this requires us