Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread Yonik Seeley
On 7/19/07, Roopesh P Raj <[EMAIL PROTECTED]> wrote: This should work : c.deleteByQyery('id:[* TO *]') c.commit() *:* works in the latest versions of Solr to mean "all documents", and I think we will be adding special support for that query to quickly remove the entire index. -Yonik

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread vanderkerkoff
llgone) >> c.commit(optimize-True) >> >> I've forgotten the exact syntax for this line >> allgone = '[ * : * ]' >> >> Can't seem to get it right, anyone know what it should be? >> >> Is it '[all:all]' or something? >&

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread Roopesh P Raj
This should work : c.deleteByQyery('id:[* TO *]') c.commit() Regards Roopesh vanderkerkoff wrote: Hello everyone Loving solr, got an idiot question for you. I have been manually deleting our index in the python interpretor when testing from solr import SolrConnection c = SolrConnection(host=

DeleteByQuery python syntax for delte all

2007-07-19 Thread vanderkerkoff
ry=allgone) c.commit(optimize-True) I've forgotten the exact syntax for this line allgone = '[ * : * ]' Can't seem to get it right, anyone know what it should be? Is it '[all:all]' or something? Any help, greatly appreciated -- View this message in context: htt