On 6/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: I could be wrong, but I think you can send a "delete by query" syntax: : <delete><query>*:*</query></delete> correct ... deleting *:* followed by doing an <optimize/> should be functionally equivilent to stoping the servlet container, removing the directory and starting the sorl container ... but it won't be quite as efficient.
Actually, it's not quite equivalent if there was a schema change. There are some "sticky" field properties that are per-segment global. For example, if you added omitNorms="true" to a field, then did delete *:* and reindexed, you would most likely still end up with norms in your index because of how segments are merged. -Yonik