lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jérôme Etévé" <>
Subject -field:[* TO *] doesn't seem to work
Date Mon, 03 Sep 2007 17:47:34 GMT
Hi all
 I've got a problem here with the '-field:[* TO *]' syntax. It doesn't
seem to work as expected (see ).

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 Eteve.

View raw message