This extension will get rid of the dreaded "ALL:ALL_VALUE" string you have to place before nearly all Queries with a NOT clause. e.g. if you want to exclude a specific type of Work Item you cannot write:
but you have to write:
ALL:ALL_VALUE AND NOT type:heading
because Lucene cannot handle a NOT as a start of a search. From now on you can just use a NOT clause as you wanted to use it all along and this QueryExtension will rewrite your query so it will work with lucene.