A big thanks to Yonik and Mark. Using the raw term query I was able to find the range(!) of documents that had bad integer field values. Deleting those documents, committing and optimizing cleared up the issue.
Still not sure how the bad values were inserted in the first place, but that is another task. Thanks again for being so helpful. On Fri, Feb 26, 2010 at 11:29, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Fri, Feb 26, 2010 at 10:59 AM, Mark Miller <markrmil...@gmail.com> wrote: >> You have to find the document with the bad value somehow. >> >> In the past I have used Luke to help with this. >> >> Then you need to delete the document. > > You can also find the document with a raw term query. > > q={!raw f=myfield}104708< > > -Yonik > http://www.lucidimagination.com >