lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From galo <>
Subject problems finding negative values
Date Wed, 04 Apr 2007 18:11:13 GMT

I have an index consisting on the following fields:

<field name="id" type="long" indexed="true" stored="true"/>
<field name="length" type="integer" indexed="true" stored="true"/>
<field name="key" type="integer" indexed="true" stored="true" 
multiValued="true" />

Each doc has a few key values, some of which are negative.

Ok, I know there's a document that has both 826606443 and -1861807411

If I search with


I get no results, but if I do


I get the document as expected.

Obviously the key field is configured as a search field, indexed, etc. 
but somehow solr doesn't like negatives. I'm assuming this might have 
something to do with analysers but can't tell how to fix it.. any ideas??



View raw message