Hi,

The good news is that:

/solr/select?q=*%3A*&fq=&start=1&rows=1&fl=id

did work (kind of odd really) so I am reading all the documents from the bad
one to a new solr using using the same configuration using ruby (complete
rebuild).

so far so good - it is gone through 500k out of 1.7M and seems to be the
best I could think of.

Running the luke tool and trying to check the index on a copy ended up
destroying the index and leaving only about 5k documents left. Reading them
out via ruby seemed better in this case (and less work than restoring from
backup and re running a few days transactions to catch it up).

Ian.


On Wed, Jul 14, 2010 at 9:22 PM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> : I have found that this search crashes:
> :
> : /solr/select?q=*%3A*&fq=&start=0&rows=1&fl=id
>
> Ouch .. that exception is kind of hairy.  it suggests that your index may
> have been corrupted in some way -- do you have nay idea what happened?
> have you tried using hte CheckIndex tool to see what it says?
>
> (I'd hate to help you workd arround this but get bit by a timebomb of some
> other bad docs later)
>
> : It looks like just that first document is bad. I am happy to delete it -
> but
> : not sure how to get to it. Does anyone know how to find it?
>
> CheckIndexes might help ... if it doesn't the next thing you might try is
> asking for a legitimate field name that you know no document has (ie: if
> you have a dynamicField with the pattern "str_*" because you have fields
> like "str_foo" and "str_bar" but you never have fields named
> "str____BOGUS" then use fl=str____BOGUS) and then add debugQuery=true to
> the URL -- the debug info should contain the id.
>
> I'll be honest thought: i'm guessing that if your example query doesn't
> work, by suggestion won't either -- because if you get that error just
> trying to access the "id" field, the same thing will probably happen when
> the debugComponent tries to look at up as well.
>
>
>
> -Hoss
>
>


-- 
Regards,

Ian Connor
1 Leighton St #723
Cambridge, MA 02141
Call Center Phone: +1 (714) 239 3875 (24 hrs)
Fax: +1(770) 818 5697
Skype: ian.connor

Reply via email to