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 while, then delete the next?
I'm not aware of a way to delete a field. I may have a different
definition of what a field is than you do, though.
Solr lets you delete entire documents, but deleting a field from the
entire index would involve re-indexing every document in the index,
excluding that field.
Can you be more specific about exactly what you are doing, what you are
seeing, and what you want to see instead?
Also, please be aware of this:
http://people.apache.org/~hossman/#threadhijack
Thanks,
Shawn
Here's a rather old post on how we did something similar:
http://www.flax.co.uk/blog/2011/06/24/how-to-remove-a-stored-field-in-lucene/
Cheers
Charlie
--
Charlie Hull
Flax - Open Source Enterprise Search
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828
web: www.flax.co.uk