I saw Peter Wolanin mention this on IRC's #solr the other day (Hi Peter, nice meeting you at the meetup the other night!), and I just encountered it too:

HTTP ERROR: 500

org.apache.lucene.index.ReadOnlySegmentReader cannot be cast to org.apache.solr.search.SolrIndexReader

java.lang.ClassCastException: org.apache.lucene.index.ReadOnlySegmentReader cannot be cast to org.apache.solr.search.SolrIndexReader
        at org.apache.solr.search.DocSetBase$1.getDocIdSet(DocSet.java:254)
at org.apache.lucene.search.IndexSearcher.doSearch(IndexSearcher.java: 237) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java: 221)

This comes from using an fq parameter: 
http://localhost:8983/solr/select?q=*:*&fq=ipod

Works fine without fq.

Yikes!

        Erik

Reply via email to