You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Hannah c <ha...@hotmail.com> on 2004/07/28 19:31:07 UTC
Progress bar for Lucene
Hi,
Is there anything in lucene that would help with the implementation of a
progress bar. Somewhere I could throw an event that says the search is 10%,
20% complete etc. Or is there already an implementation of a progress bar
available for lucene.
Thanks for your help,
Hannah
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Progress bar for Lucene
Posted by jitender ahuja <aj...@aalayance.com>.
Hi All,
I would like to ask for suggestions to my issue.
I have implemented by extending the MultiCombination Query class, a
query term(s) to be searched across ALL /ANY of the fields ( just like
we do AND/OR among the query term(s)).
But, it takes too much time( in fact never completes) for those query terms
that are there ( at least one among them) in the inverted stored list( based
on the index earlier formed)
but are not satisfying the Fields' combination criteria.
But, if perform an OR among the same specified fields( from a search box)
then it performs quickly.
Regards,
Jitender
----- Original Message -----
From: "Erik Hatcher" <er...@ehatchersolutions.com>
To: "Lucene Users List" <lu...@jakarta.apache.org>
Sent: Thursday, July 29, 2004 8:06 AM
Subject: Re: Progress bar for Lucene
> That'd be a pretty quick progress bar in the searches I've seen....
> 10ms would be barely a blink of an eye.
>
> Perhaps we should discuss why your searches are slow enough to warrant
> a progress bar. But a HitCollector might be the right hook you're
> looking for.
>
> Erik
>
>
> On Jul 28, 2004, at 10:31 AM, Hannah c wrote:
>
> >
> > Hi,
> >
> > Is there anything in lucene that would help with the implementation of
> > a progress bar. Somewhere I could throw an event that says the search
> > is 10%, 20% complete etc. Or is there already an implementation of a
> > progress bar available for lucene.
> >
> > Thanks for your help,
> > Hannah
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Progress bar for Lucene
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
That'd be a pretty quick progress bar in the searches I've seen....
10ms would be barely a blink of an eye.
Perhaps we should discuss why your searches are slow enough to warrant
a progress bar. But a HitCollector might be the right hook you're
looking for.
Erik
On Jul 28, 2004, at 10:31 AM, Hannah c wrote:
>
> Hi,
>
> Is there anything in lucene that would help with the implementation of
> a progress bar. Somewhere I could throw an event that says the search
> is 10%, 20% complete etc. Or is there already an implementation of a
> progress bar available for lucene.
>
> Thanks for your help,
> Hannah
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Progress bar for Lucene
Posted by "Kevin A. Burton" <bu...@newsmonster.org>.
Hannah c wrote:
>
> Hi,
>
> Is there anything in lucene that would help with the implementation of
> a progress bar. Somewhere I could throw an event that says the search
> is 10%, 20% complete etc. Or is there already an implementation of a
> progress bar available for lucene.
I would really like to see something like this for index optimizes
actually. If an optimized takes 45 minutes its nice to see a progress
indicator.
Of course I've thought about just doign a disk base IO assumption. ...
you just watch the index being created and estimate its target size...
Kevin
--
Please reply using PGP.
http://peerfear.org/pubkey.asc
NewsMonster - http://www.newsmonster.org/
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org