Re: Updating a solr record

2009-08-27 Thread Uri Boness
I guess if you have stored="true" then there is no problem. 2. If you don't use stored="true" you can still get access to term vectors, which you can probably reuse to create fake field with same term vector in an updated document... just an idea, may be I am wrong... Reconstructing a the field

RE: Updating a solr record

2009-08-27 Thread Fuad Efendi
I haven't read all messages in this thread yet, but I probably have an answer to some questions... 1. You want to change schema.xml and to reindex, but you don't have access to source documents (stored somewhere on Internet). But you probably use stored="true" in your schema. Then, use SOLR as you

Re: Updating a solr record

2009-08-27 Thread Paul Rosen
Hi Eric, I think I understand what you are saying but I'm not sure how it would work. I think you are saying to have two different indexes, each one has the same documents, but one has the hard-to-get fields and the other has the easy-to-get fields. Then I would make the same query twice, once

Re: Updating a solr record

2009-08-27 Thread Eric Pugh
Right... You know, if some of your data needs to updated frequently, but other is updated once per year, and is really massive dataset, then maybe splitting it up into separate cores? Since you mentioned that you can't get the raw data again, you could just duplicate your existing index by doing

Re: Updating a solr record

2009-08-27 Thread Paul Rosen
Eric Pugh wrote: Do you have to "reindex"? Are you meaning an optimize operation? You can do an "update" by just sending Solr a new record, and letting Solr deal with the removing and adding of the data. The problem is that I can't easily create the new record. There is some data that I no l

Re: Updating a solr record

2009-08-27 Thread Paul Tomblin
On Thu, Aug 27, 2009 at 1:27 PM, Eric Pugh wrote: > You can just query Solr, find the records that you want (including all > the website data).  Update them, and then send the entire record back. > Correct me if I'm wrong, but I think you'd end up losing the fields that are indexed but not stored.

Re: Updating a solr record

2009-08-27 Thread Eric Pugh
Do you have to "reindex"? Are you meaning an optimize operation? You can do an "update" by just sending Solr a new record, and letting Solr deal with the removing and adding of the data. You can just query Solr, find the records that you want (including all the website data). Update them, and t