lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vipin Rakkanath" <>
Subject Issue with multiple index search
Date Wed, 19 Dec 2007 13:21:24 GMT
Hi folks,

I use to search within multiple indexes using  ParallelMultiSearcher.
All the indexes are remote. There are many index servers and each of
them contains multiple indexes.

While searching, I am getting exception when one of the indexes
has a problem. The exception is given.

I edited the following methods,

1.  MultiSearcher : public int docFreq(Term term) throws IOException
2.  ParallelMultiSearcher : TopDocs search

I deleted all problematic searchable objects from the list and did the
search again. Now its working ok.

Is this a feasible solution..?

please comment about this.


Vipin R

caught a class java.lang.NullPointerException with message: null Exception
in thread "main" java.lang.NullPointerException at
org.apache.lucene.index.TermInfosReader.ensureIndexIsRead( at org.apache.lucene.index.TermInfosReader.get( at org.apache.lucene.index.SegmentReader.docFreq ( at at at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at sun.rmi.server.UnicastServerRef.dispatch( at sun.rmi.transport.Transport$ at (Native
Method) at sun.rmi.transport.Transport.serviceCall( at
sun.rmi.transport.tcp.TCPTransport.handleMessages( at
at at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer( at sun.rmi.transport.StreamRemoteCall.executeCall( at sun.rmi.server.UnicastRef.invoke( at
java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod( at
java.rmi.server.RemoteObjectInvocationHandler.invoke ( at $Proxy0.docFreq(Unknown Source)
at at ( at at$TermWeight.( at ( at$BooleanWeight.( at$BooleanWeight2.(
at :95) at at at at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message