Re: Deleting Fields

2015-06-01 Thread Charlie Hull
On 30/05/2015 00:30, Shawn Heisey wrote: On 5/29/2015 5:08 PM, Joseph Obernberger wrote: Hi All - I have a lot of fields to delete, but noticed that once I started deleting them, I quickly ran out of heap space. Is delete-field a memory intensive operation? Should I delete one field, wait a

Re: Deleting Fields

2015-06-01 Thread Joseph Obernberger
) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.OutOfMemoryError: Java heap space -Joe On 5/30/2015 12:32 AM, Erick Erickson wrote: Yes, but deleting fields from the schema only means that _future_ documents

Re: Deleting Fields

2015-05-31 Thread Tomasz Borek
) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.OutOfMemoryError: Java heap space -Joe On 5/30/2015 12:32 AM, Erick Erickson wrote: Yes, but deleting fields from the schema only means that _future_ documents will throw an undefined field error. All the documents currently

Re: Deleting Fields

2015-05-30 Thread Erick Erickson
(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.OutOfMemoryError: Java heap space -Joe On 5/30/2015 12:32 AM, Erick Erickson wrote: Yes, but deleting fields from the schema only means that _future_ documents will throw an undefined field error. All

Re: Deleting Fields

2015-05-30 Thread Joseph Obernberger
by: java.lang.OutOfMemoryError: Java heap space -Joe On 5/30/2015 12:32 AM, Erick Erickson wrote: Yes, but deleting fields from the schema only means that _future_ documents will throw an undefined field error. All the documents currently in the index will retain that field. Why you're hitting an OOM is a mystery though

Re: Deleting Fields

2015-05-30 Thread Steve Rowe
Hi Joseph, On May 30, 2015, at 8:18 AM, Joseph Obernberger j...@lovehorsepower.com wrote: Thank you Erick. I was thinking that it actually went through and removed the index data; that you for the clarification. I added more info to the Schema API page about this not being true. Here’s

Re: Deleting Fields

2015-05-29 Thread Shawn Heisey
On 5/29/2015 5:08 PM, Joseph Obernberger wrote: Hi All - I have a lot of fields to delete, but noticed that once I started deleting them, I quickly ran out of heap space. Is delete-field a memory intensive operation? Should I delete one field, wait a while, then delete the next? I'm not

Deleting Fields

2015-05-29 Thread Joseph Obernberger
Hi All - I have a lot of fields to delete, but noticed that once I started deleting them, I quickly ran out of heap space. Is delete-field a memory intensive operation? Should I delete one field, wait a while, then delete the next? Thank you! -Joe

Re: Deleting Fields

2015-05-29 Thread Joseph Obernberger
Thank you Shawn - I'm referring to fields in the schema. With Solr 5, you can delete fields from the schema. https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-DeleteaField -Joe On 5/29/2015 7:30 PM, Shawn Heisey wrote: On 5/29/2015 5:08 PM, Joseph Obernberger wrote: Hi

Re: Deleting Fields

2015-05-29 Thread Erick Erickson
Yes, but deleting fields from the schema only means that _future_ documents will throw an undefined field error. All the documents currently in the index will retain that field. Why you're hitting an OOM is a mystery though. But delete field isn't removing the contents if indexed documents