-field:[* TO *] doesn't seem to work

2007-09-03 Thread Jérôme Etévé
Hi all
 I've got a problem here with the '-field:[* TO *]' syntax. It doesn't
seem to work as expected (see
http://wiki.apache.org/solr/SolrQuerySyntax ).

My request is 'word -fieldD:[* TO *]' and the debugQuery=1 solr option
shows that it's properly transformed as :

+(fieldA:chef^10.0 fieldB:chef fieldC:chef^2.0) -fieldD:[* TO *]

but solr still gives back documents with non void fieldD .

My fieldD is defined as 'field name=fieldD  type=text_ws
indexed=true  stored=true omitNorms=true / with

text_ws being the standard solr text field that only splits on
whitespace for exact matching of words.

Did I missed something ?

I'm using solr 1.2.1-dev .


Thanks for any help !

Jerome.

-- 
Jerome Eteve.
[EMAIL PROTECTED]
http://jerome.eteve.free.fr/


Re: -field:[* TO *] doesn't seem to work

2007-09-03 Thread Yonik Seeley
Can you provide the full query response (with debugging output)?

-Yonik

On 9/3/07, Jérôme Etévé [EMAIL PROTECTED] wrote:
 Hi all
  I've got a problem here with the '-field:[* TO *]' syntax. It doesn't
 seem to work as expected