Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Exception at MultiSearcherThread.hits

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


emailgane at yahoo

Jul 12, 2009, 11:05 PM

Post #1 of 5 (545 views)
Permalink
Exception at MultiSearcherThread.hits

Hello all,

I am using Lucene v2.4.1. I am getting following exception while doing search on 4 indexes using ParallelMultiSearcher.

org.apache.lucene.search.MultiSearcherThread.hits(ParallelMultiSearcher.java:280)
org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearcher.java:136)
org.apache.lucene.search.Searcher.search(Searcher.java:86)

Regards
Ganesh
Send instant messages to your online friends http://in.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


uwe at thetaphi

Jul 12, 2009, 11:13 PM

Post #2 of 5 (500 views)
Permalink
RE: Exception at MultiSearcherThread.hits [In reply to]

Can you please post the whole Exception, it is missing the type and message.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe [at] thetaphi

> -----Original Message-----
> From: Ganesh [mailto:emailgane [at] yahoo]
> Sent: Monday, July 13, 2009 8:06 AM
> To: java-user [at] lucene
> Subject: Exception at MultiSearcherThread.hits
>
> Hello all,
>
> I am using Lucene v2.4.1. I am getting following exception while doing
> search on 4 indexes using ParallelMultiSearcher.
>
>
> org.apache.lucene.search.MultiSearcherThread.hits(ParallelMultiSearcher.ja
> va:280)
>
> org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearche
> r.java:136)
> org.apache.lucene.search.Searcher.search(Searcher.java:86)
>
> Regards
> Ganesh
> Send instant messages to your online friends http://in.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


emailgane at yahoo

Jul 13, 2009, 1:04 AM

Post #3 of 5 (499 views)
Permalink
Re: [Bulk] RE: Exception at MultiSearcherThread.hits [In reply to]

The Exception message is null.

When i restart my application, It is working fine.

Regards
Ganesh

----- Original Message -----
From: "Uwe Schindler" <uwe [at] thetaphi>
To: <java-user [at] lucene>
Sent: Monday, July 13, 2009 11:43 AM
Subject: [Bulk] RE: Exception at MultiSearcherThread.hits


> Can you please post the whole Exception, it is missing the type and message.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
>> -----Original Message-----
>> From: Ganesh [mailto:emailgane [at] yahoo]
>> Sent: Monday, July 13, 2009 8:06 AM
>> To: java-user [at] lucene
>> Subject: Exception at MultiSearcherThread.hits
>>
>> Hello all,
>>
>> I am using Lucene v2.4.1. I am getting following exception while doing
>> search on 4 indexes using ParallelMultiSearcher.
>>
>>
>> org.apache.lucene.search.MultiSearcherThread.hits(ParallelMultiSearcher.ja
>> va:280)
>>
>> org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearche
>> r.java:136)
>> org.apache.lucene.search.Searcher.search(Searcher.java:86)
>>
>> Regards
>> Ganesh
>> Send instant messages to your online friends http://in.messenger.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
>> For additional commands, e-mail: java-user-help [at] lucene
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
Send instant messages to your online friends http://in.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


henok_sahilu at yahoo

Jul 13, 2009, 1:28 AM

Post #4 of 5 (498 views)
Permalink
Re: [Bulk] RE: Exception at MultiSearcherThread.hits [In reply to]

hello there
i can search for "renew" but not for "renewal"
when i index i used this
code
  doc.add(new Field("contents", text,Field.Store.NO,
                    Field.Index.ANALYZED));
and my query was parsed
   QueryParser parser = null;
    File file=new File("StopWordList.txt");
    parser = new QueryParser("contents", new StandardAnalyzer(file));
Query query = parser.parse("renewal");
can any one tell me what wrong i maight doing.
thanks

--- On Mon, 7/13/09, Ganesh <emailgane [at] yahoo> wrote:

From: Ganesh <emailgane [at] yahoo>
Subject: Re: [Bulk] RE: Exception at MultiSearcherThread.hits
To: java-user [at] lucene
Date: Monday, July 13, 2009, 1:04 AM

The Exception message is null.

When i restart my application, It is working fine.

Regards
Ganesh

----- Original Message -----
From: "Uwe Schindler" <uwe [at] thetaphi>
To: <java-user [at] lucene>
Sent: Monday, July 13, 2009 11:43 AM
Subject: [Bulk] RE: Exception at MultiSearcherThread.hits


> Can you please post the whole Exception, it is missing the type and message.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
>> -----Original Message-----
>> From: Ganesh [mailto:emailgane [at] yahoo]
>> Sent: Monday, July 13, 2009 8:06 AM
>> To: java-user [at] lucene
>> Subject: Exception at MultiSearcherThread.hits
>>
>>  Hello all,
>>
>> I am using Lucene v2.4.1. I am getting following exception while doing
>> search on 4 indexes using ParallelMultiSearcher.
>>
>>
>> org.apache.lucene.search.MultiSearcherThread.hits(ParallelMultiSearcher.ja
>> va:280)
>>
>> org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearche
>> r.java:136)
>>  org.apache.lucene.search.Searcher.search(Searcher.java:86)
>>
>> Regards
>> Ganesh
>> Send instant messages to your online friends http://in.messenger.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
>> For additional commands, e-mail: java-user-help [at] lucene
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
Send instant messages to your online friends http://in.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


erickerickson at gmail

Jul 13, 2009, 7:08 AM

Post #5 of 5 (491 views)
Permalink
Re: [Bulk] RE: Exception at MultiSearcherThread.hits [In reply to]

Please don't hijack a thread, start a new topic. From Hossman:
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists

When starting a new discussion on a mailing list, please do not reply to
an existing message, instead start a fresh email. Even if you change the
subject line of your email, other mail headers still track which thread
you replied to and your question is "hidden" in that thread and gets less
attention. It makes following discussions in the mailing list archives
particularly difficult.
See Also: http://en.wikipedia.org/wiki/Thread_hijacking


When you start the new thread, try to get answers to the following:
1> What's actually in your inedex? (get a copy of Luke)
2> what analyzer to you use for *indexing*?
3> I suspect you're stemming the indexing, but not the query. You
need to use the same analyzer for both operations.

Best
Erick

On Mon, Jul 13, 2009 at 4:28 AM, henok sahilu <henok_sahilu [at] yahoo>wrote:

>
> hello there
> i can search for "renew" but not for "renewal"
> when i index i used this
> code
> doc.add(new Field("contents", text,Field.Store.NO,
> Field.Index.ANALYZED));
> and my query was parsed
> QueryParser parser = null;
> File file=new File("StopWordList.txt");
> parser = new QueryParser("contents", new StandardAnalyzer(file));
> Query query = parser.parse("renewal");
> can any one tell me what wrong i maight doing.
> thanks
>
> --- On Mon, 7/13/09, Ganesh <emailgane [at] yahoo> wrote:
>
> From: Ganesh <emailgane [at] yahoo>
> Subject: Re: [Bulk] RE: Exception at MultiSearcherThread.hits
> To: java-user [at] lucene
> Date: Monday, July 13, 2009, 1:04 AM
>
> The Exception message is null.
>
> When i restart my application, It is working fine.
>
> Regards
> Ganesh
>
> ----- Original Message -----
> From: "Uwe Schindler" <uwe [at] thetaphi>
> To: <java-user [at] lucene>
> Sent: Monday, July 13, 2009 11:43 AM
> Subject: [Bulk] RE: Exception at MultiSearcherThread.hits
>
>
> > Can you please post the whole Exception, it is missing the type and
> message.
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe [at] thetaphi
> >
> >> -----Original Message-----
> >> From: Ganesh [mailto:emailgane [at] yahoo]
> >> Sent: Monday, July 13, 2009 8:06 AM
> >> To: java-user [at] lucene
> >> Subject: Exception at MultiSearcherThread.hits
> >>
> >> Hello all,
> >>
> >> I am using Lucene v2.4.1. I am getting following exception while doing
> >> search on 4 indexes using ParallelMultiSearcher.
> >>
> >>
> >>
> org.apache.lucene.search.MultiSearcherThread.hits(ParallelMultiSearcher.ja
> >> va:280)
> >>
> >>
> org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearche
> >> r.java:136)
> >> org.apache.lucene.search.Searcher.search(Searcher.java:86)
> >>
> >> Regards
> >> Ganesh
> >> Send instant messages to your online friends
> http://in.messenger.yahoo.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> >> For additional commands, e-mail: java-user-help [at] lucene
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> > For additional commands, e-mail: java-user-help [at] lucene
> >
> Send instant messages to your online friends http://in.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>
>
>
>
>

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.