Re: delete by negative query

2007-10-15 Thread Rob Casson
> the work arround is to include *:* in yoru query ... >*:* -solr > ... if/when this is fixed > in Solr that's esentally what solr will do under the covers. > > (would you mind opening a bug to track this and mention the work arround > for other people who encounter it) will do. thanks again.

Re: delete by negative query

2007-10-15 Thread Chris Hostetter
: i'm having no luck deleting by a negative query a quick glance at teh code and i don't think delete by query does "the right thing" with a purely negative query ... when the customization was added to SOlr to support pure negative queries it was done at the SolrIndexSearcher level when c

Re: delete by negative query

2007-10-15 Thread Rob Casson
piete, thanks for the quick reply. > You need to explicitly define the field you are referring to in order to > achieve this, otherwise the query parser will assume that the minus > character is part of the query and interpret it as field:"-solr" (where > "field" is the name of the default field

Re: delete by negative query

2007-10-15 Thread Pieter Berkel
You need to explicitly define the field you are referring to in order to achieve this, otherwise the query parser will assume that the minus character is part of the query and interpret it as field:"-solr" (where "field" is the name of the default field set in your schema). Try: curl http://local