It's working fine on the server.

Problem was at my local PC which might be occurred because of some
misconfiguration.

Thank you very much.




On Fri, Oct 5, 2012 at 11:23 AM, Sushil jain <jain.ayushm...@gmail.com>wrote:

> I am using Solr 1.4.1 and same solr is indexing the documents, I have
> tried re-indexing but nothing good happened.
>
> On Thu, Oct 4, 2012 at 8:26 PM, Otis Gospodnetic <
> otis.gospodne...@gmail.com> wrote:
>
>> Hi,
>>
>> I'd have to check the src to see what exactly -11 signifies.... but
>> why not paste the Solr version you see in Solr Admin, plus ls -l your
>> lib directory(-ies).
>>
>> Also, who indexed docs to those cores?  That same Solr?  Can you
>> remove the core and reindex?  If so, do you still get -11?
>>
>> Otis
>> --
>> Search Analytics - http://sematext.com/search-analytics/index.html
>> Performance Monitoring - http://sematext.com/spm/index.html
>>
>>
>> On Thu, Oct 4, 2012 at 9:09 AM, Sushil jain <jain.ayushm...@gmail.com>
>> wrote:
>> > Greetings,
>> >
>> > I have two cores(core0 & core1) in my solr instance and I am creating
>> > indexes using Solr.
>> > I am trying to access(read) same indexes using *EmbeddedSolrServer. *
>> > I get instance of core1 without any error but in case of core0  I am
>> > getting the error :
>> >
>> > Exception in thread "main" java.lang.RuntimeException:
>> > org.apache.lucene.index.CorruptIndexException: Unknown format version:
>> -11
>> > at
>> >
>> org.apache.solr.spelling.AbstractLuceneSpellChecker.init(AbstractLuceneSpellChecker.java:104)
>> > at
>> >
>> org.apache.solr.spelling.IndexBasedSpellChecker.init(IndexBasedSpellChecker.java:56)
>> > at
>> >
>> org.apache.solr.handler.component.SpellCheckComponent.inform(SpellCheckComponent.java:274)
>> > at
>> >
>> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:508)
>> > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:588)
>> > at TestCaseSolrJ.createSolrCore(TestCaseSolrJ.java:1166)
>> > at TestCaseSolrJ.main(TestCaseSolrJ.java:234)
>> > Caused by: org.apache.lucene.index.CorruptIndexException: Unknown format
>> > version: -11
>> > at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:247)
>> > at
>> org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:72)
>> > at
>> >
>> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:683)
>> > at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
>> > at org.apache.lucene.index.IndexReader.open(IndexReader.java:476)
>> > at org.apache.lucene.index.IndexReader.open(IndexReader.java:314)
>> > at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:102)
>> > at
>> >
>> org.apache.lucene.search.spell.SpellChecker.createSearcher(SpellChecker.java:542)
>> > at
>> >
>> org.apache.lucene.search.spell.SpellChecker.swapSearcher(SpellChecker.java:519)
>> > at
>> >
>> org.apache.lucene.search.spell.SpellChecker.setSpellIndex(SpellChecker.java:146)
>> > at
>> org.apache.lucene.search.spell.SpellChecker.<init>(SpellChecker.java:110)
>> > at
>> >
>> org.apache.solr.spelling.AbstractLuceneSpellChecker.init(AbstractLuceneSpellChecker.java:102)
>> > ... 6 more
>> >
>> >
>> > I tried lot but couldn't figure out what's wrong it. I am using
>> compatible
>> > versions of lucene and solr jar files.
>> > Please let me know the possible solution for same.
>> >
>> > Thanks & Regards,
>> > Sushil Jain
>>
>
>

Reply via email to