Re: Add copyTo Field without re-indexing?
Please advise how we can reindex SOLR with having fields stored=false. we can not reindex data from the beginning just want to read and write indexes from the SOLRJ only. Please advise a solution. I know we can do it using lucene classes using indexreader and indexwriter but want to index all fields -- View this message in context: http://lucene.472066.n3.nabble.com/Add-copyTo-Field-without-re-indexing-tp3342253p3515020.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Add copyTo Field without re-indexing?
Am 17.11.2011 08:46, schrieb Kashif Khan: Please advise how we can reindex SOLR with having fields stored=false. we can not reindex data from the beginning just want to read and write indexes from the SOLRJ only. Please advise a solution. I know we can do it using lucene classes using indexreader and indexwriter but want to index all fields This is not possible. At least not when the index is modified in any way (stemmed, lowercased, tokenized, etc.). The original data is not saved when stored is false. You'll need your original source data to reindex then. -Kuli
Re: Add copyTo Field without re-indexing?
Luis: This will only work if *all* the fields have ' stored=true '. Or at least enough that you can get back all the original data. Fetching a document will not return data for any field that has stored=false... Best Erick On Fri, Sep 16, 2011 at 2:33 PM, Luis Cappa luisca...@gmail.com wrote: Hello. You can also develop an application by yourself that uses Solrj to retrieve all the documents from your índex, process and add all the new information (fields) desired and the index them into another Solr index. Its easy. Goodbye! El 16/09/2011, a las 17:39, Olson, Ron rol...@lbpc.com escribió: Hi all- I have an 11 gig index that I realize I need to add another field to, but not from the actual query using DIH, but via copyTo. Is there any way to re-parse an existing index, adding the new copyTo field, without having to basically start all over again with DIH? Thanks, Ron DISCLAIMER: This electronic message, including any attachments, files or documents, is intended only for the addressee and may contain CONFIDENTIAL, PROPRIETARY or LEGALLY PRIVILEGED information. If you are not the intended recipient, you are hereby notified that any use, disclosure, copying or distribution of this message or any of the information included in or with it is unauthorized and strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and permanently delete and destroy this message and its attachments, along with any copies thereof. This message does not create any contractual obligation on behalf of the sender or Law Bulletin Publishing Company. Thank you.
Add copyTo Field without re-indexing?
Hi all- I have an 11 gig index that I realize I need to add another field to, but not from the actual query using DIH, but via copyTo. Is there any way to re-parse an existing index, adding the new copyTo field, without having to basically start all over again with DIH? Thanks, Ron DISCLAIMER: This electronic message, including any attachments, files or documents, is intended only for the addressee and may contain CONFIDENTIAL, PROPRIETARY or LEGALLY PRIVILEGED information. If you are not the intended recipient, you are hereby notified that any use, disclosure, copying or distribution of this message or any of the information included in or with it is unauthorized and strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and permanently delete and destroy this message and its attachments, along with any copies thereof. This message does not create any contractual obligation on behalf of the sender or Law Bulletin Publishing Company. Thank you.
Re: Add copyTo Field without re-indexing?
On Sep 16, 2011, at 8:39 AM, Olson, Ron wrote: Is there any way to re-parse an existing index, adding the new copyTo field, without having to basically start all over again with DIH? No. Indexes cannot be modified. You must reinsert the documents with a new schema. wunder -- Walter Underwood
Re: Add copyTo Field without re-indexing?
Hello. You can also develop an application by yourself that uses Solrj to retrieve all the documents from your índex, process and add all the new information (fields) desired and the index them into another Solr index. Its easy. Goodbye! El 16/09/2011, a las 17:39, Olson, Ron rol...@lbpc.com escribió: Hi all- I have an 11 gig index that I realize I need to add another field to, but not from the actual query using DIH, but via copyTo. Is there any way to re-parse an existing index, adding the new copyTo field, without having to basically start all over again with DIH? Thanks, Ron DISCLAIMER: This electronic message, including any attachments, files or documents, is intended only for the addressee and may contain CONFIDENTIAL, PROPRIETARY or LEGALLY PRIVILEGED information. If you are not the intended recipient, you are hereby notified that any use, disclosure, copying or distribution of this message or any of the information included in or with it is unauthorized and strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and permanently delete and destroy this message and its attachments, along with any copies thereof. This message does not create any contractual obligation on behalf of the sender or Law Bulletin Publishing Company. Thank you.