Hi there, I have a field pg_int which is number of pages stored as integer. There are 118 records in my index with pg_int = -1.
If I search the index with pg_int:-1, I get the correct records returned in the results. { "responseHeader": { "status": 0, "QTime": 1, "params": { "debugQuery": "true", "indent": "true", "q": "pg_int:-1\n", "_": "1424558304272", "wt": "json", "rows": "0" } }, "response": { "numFound": 118, "start": 0, "docs": [] }, "moreLikeThis": {}, "highlighting": {}, "debug": { "moreLikeThis": {}, "rawquerystring": "pg_int:-1\n", "querystring": "pg_int:-1\n", "parsedquery": "(+pg_int:-1)/no_coord", "parsedquery_toString": "+pg_int:`\u0007", "explain": {}, "QParser": "ExtendedDismaxQParser", But if I put parens around the query and send it over to solr as (pg_int:-1), then the query string gets completely removed by the edimax parser: { "responseHeader": { "status": 0, "QTime": 1, "params": { "debugQuery": "true", "indent": "true", "q": "(pg_int:-1)\n", "_": "1424558355671", "wt": "json", "rows": "0" } }, "response": { "numFound": 0, "start": 0, "docs": [] }, "moreLikeThis": {}, "highlighting": {}, "debug": { "moreLikeThis": {}, "rawquerystring": "(pg_int:-1)\n", "querystring": "(pg_int:-1)\n", "parsedquery": "(+())/no_coord", <-------- query string is removed "parsedquery_toString": "+()", "explain": {}, "QParser": "ExtendedDismaxQParser", I don't understand what could be causing this. It doesn't happen to positive integers. Both pg_int:1 and (pg_int:1) work fine. Has anyone run into this issue? How do I get around it? Thanks, Rebecca